Re: Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?
Дата
Msg-id 22401.1386286044@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?  ("Hoon H." <drawtree@gmail.com>)
Список pgsql-interfaces
"Hoon H." <drawtree@gmail.com> writes:
> According to some mailing list entries, 

> http://www.postgresql.org/message-id/20080708000535.GA10491@cuci.nl
> http://www.postgresql.org/message-id/AANLkTimiNjQa7ws1tyR_W6RQPec6RlxQtWfACNMnZ_1P@mail.gmail.com

> It seems safe to use macros defined in `server/catalog/pg_type.h`, but I still doubt because I couldn't find any
officialpolicy on these values. 
 

We never have changed the OIDs of those basic types, and I doubt we would.
We're well aware that some client code knows their numbers.
        regards, tom lane



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Hoon H."
Дата:
Сообщение: Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?
Следующее
От: "Francisco Figueiredo Jr."
Дата:
Сообщение: Npgsql 2.0.14 released!