Re: [HACKERS] Autoconf'd test for int64

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Autoconf'd test for int64
Дата
Msg-id 199808232230.SAA25738@candle.pha.pa.us
обсуждение исходный текст
Ответ на Autoconf'd test for int64  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Applied.  Autoconf run.

> Attached is a patch that uses autoconf to determine whether there is
> a working 64-bit-int type available.
>
> In playing around with it on my machine, I found that gcc provides
> perfectly fine support for "long long" arithmetic ... but sprintf()
> and sscanf(), which are system-supplied, don't work :-(.  So the
> autoconf test program does a cursory test on them too.
>
> If we find that a lot of systems are like this, it might be worth
> the trouble to implement binary<->ASCII conversion of int64 ourselves
> rather than relying on sprintf/sscanf to handle the data type.
>
>             regards, tom lane

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: type coersion (was OR clause status)
Следующее
От: David Hartwig
Дата:
Сообщение: Re: [INTERFACES] Re: [HACKERS] changes in 6.4