| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] int8 type -- call for porting results! |
| Дата | |
| Msg-id | 5225.903279816@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] int8 type -- call for porting results! (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Список | pgsql-hackers |
>> I wonder if we can try enabling int8's for all gcc compilers? The only
>> machines that might break on are other 64-bit machines (like some
>> SGI's?).
> Yep, should work.
Autoconf, my boys, think autoconf. This sort of guess-and-hope
configuration is exactly what autoconf was invented to prevent.
I'll gin up a few lines of autoconf test code and send them in.
I'd suggest we say that the autoconf test will deliver the
following symbols in config.h:
HAVE_LONG_INT_64 # defined if "long int" works and is 8 bytes
HAVE_LONG_LONG_INT_64 # defined if "long long int" works and is 8 bytes
Are there any other possibilities to worry about?
How hard should the test code try to make sure that int64 actually
works? Judging from Tom's comments, we'd better try a multiply and
a divide at least.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера