| От | Jeff Davis |
|---|---|
| Тема | FE/BE docs and unsigned integers |
| Дата | |
| Msg-id | 1388686291.19125.437.camel@jdavis обсуждение исходный текст |
| Ответы |
Re: FE/BE docs and unsigned integers
|
| Список | pgsql-docs |
The documentation doesn't give much of a hint that the protocol is using unsigned integers. For instance, under ParameterDescription here: http://www.postgresql.org/docs/9.3/static/protocol-message-formats.html it says that the object ID is an Int32, which is described here: http://www.postgresql.org/docs/9.3/static/protocol-message-types.html as just a plain 32-bit integer. But the code (e.g. getParamDescriptions()) is clearly reading it into an Oid, which is unsigned. Is there a reason this isn't clear? Is it meant to be ambiguous because (as far as the protocol is concerned) it's just an opaque 32 bits? It seems like it's worth a note somewhere at least. Regards, Jeff Davis
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера