| От | Richard Huxton |
|---|---|
| Тема | Re: binary representation of date and numeric |
| Дата | |
| Msg-id | 4631A8E6.7040409@archonet.com обсуждение исходный текст |
| Ответ на | binary representation of date and numeric (Felix Kater <fkater@googlemail.com>) |
| Список | pgsql-general |
Felix Kater wrote: > Hi, > > what is the binary representation of 'date' and 'numeric' data? > > I am using PQexecParam (C binding libpq-8.0.12) with binary export > switched on. From the three examples in C code the types 'int4', 'bytea' > and strings are covered, however nothing about 'date', 'numeric'. > > If there is no documentation and I need to examine the sources, could > anyone point me to the needed files or sections? You'll want to look in src/backend/utils/adt. Note that timestamps can be compiled as floating-pt representations or int64, so you probably want to check whether that has any impact on dates. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера