| От | Peter Eisentraut |
|---|---|
| Тема | Re: Preferred way to define 64-bit constants? |
| Дата | |
| Msg-id | 1340562878.13589.0.camel@vanquo.pezone.net обсуждение |
| Ответ на | Preferred way to define 64-bit constants? (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
| Ответы |
Re: Preferred way to define 64-bit constants?
|
| Список | pgsql-hackers |
On sön, 2012-06-24 at 20:23 +0300, Heikki Linnakangas wrote: > I just committed the patch to change XLogRecPtr into a 64-bit constant, > and I did this in the patch: > > #define XLogSegmentsPerXLogId (0x100000000LL / XLOG_SEG_SIZE) > > But I started to wonder, is that LL representation the preferred way to > define 64-bit integer constants? I thought it is, but now that I grep > around, I don't see any constants like that in the source tree. See INT64CONST, UINT64CONST.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера