| От | Malcolm Matalka |
|---|---|
| Тема | Object IDs in Parse message |
| Дата | |
| Msg-id | 86o9019mjr.fsf@gmail.com обсуждение исходный текст |
| Ответы |
Re: Object IDs in Parse message
Re: Object IDs in Parse message |
| Список | pgsql-interfaces |
Hello, I'm implementing my own pgsql client for fun and I'm trying to understand how to send a Parse message. The final parameter to Parse is a series of Int32s with the description: Specifies the object ID of the parameter data type. Placing a zero here is equivalent to leaving the type unspecified. But where do I find the list of object IDs? Doing some internet searches didn't bring up much. Poking around the code I came across the file: ./src/backend/catalog/pg_type_d.h And that has a series of OID's with integer values. Is this the mapping I'm looking for? If so, It's not clear how to express some things. For example there is a MONEYARRAYOID, but no MONEYOID. Would I use, for example, NUMERICOID for money? If so, why does MONEYARRAYOID exist rather than using NUMERICOID? Thanks, /Malcolm
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера