Hi there people! I'm using the Postgres Client interface from libpq library. More specifically, one of the functions I'm intending to use is the PQftype function that prototype is Oid PQftype(const PGresult *res, int field_index); And, to use this funcion I need to know what it is returning to me because I'll need to convert these Oids to types defined in a protocol with the application. So, somebody of you knows where can I get the description list of the types used by Postgres and their object identifers ? I really appreciate if you can help me Best regards,
"Vilson farias" <vilson.farias@digitro.com.br> writes:
> So, somebody of you knows where can I get the description list of the types
> used by Postgres and their object identifers ?
SELECT oid, typname FROM pg_type;
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера