Re: BUG #4053: libpq documentation should express clearly, that integers are passed in network octet order
В списке pgsql-bugs по дате отправления:
| От | Andrew Chernow |
|---|---|
| Тема | Re: BUG #4053: libpq documentation should express clearly, that integers are passed in network octet order |
| Дата | |
| Msg-id | 4822674A.7070007@esilo.com обсуждение исходный текст |
| Ответ на | Re: BUG #4053: libpq documentation should express clearly, that integers are passed in network octet order (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-bugs |
Bruce Momjian wrote: > Aleksej Saushev wrote: >> The following bug has been logged online: >> >> Bug reference: 4053 >> Logged by: Aleksej Saushev >> Email address: asau@inbox.ru >> PostgreSQL version: 8.3 >> Operating system: NetBSD, but this does no matter >> Description: libpq documentation should express clearly, that >> integers are passed in network octet order >> Details: >> >> The documentation on PQexecParams is silent about the precise format, >> expected by server for binary parameters, it should be more explicit >> and note that integers are expected in network octet order. > > This brings up a good question. Exactly how do users know what format > _binary_ is? int4 is network byte order, but what about int8, float4, > inet? > They don't have to if they use the libpqtypes library :) project: http://pgfoundry.org/projects/libpqtypes/ online docs: http://libpqtypes.esilo.com/ andrew
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера