Re: How oids of the base data types often change?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: How oids of the base data types often change?
Дата
Msg-id 1279537493.4903.3.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на How oids of the base data types often change?  (Dmitriy Igrishin <dmitigr@gmail.com>)
Список pgsql-sql
On mån, 2010-07-19 at 14:47 +0400, Dmitriy Igrishin wrote:
> For example, when using libpq(-xx), it is possible to get the oid of
> the type of any column.
> Is there a guarantee that oids of base types (void, integer, ... )
> will not change in future
> releases of Postgres?

There is no actual "guarantee" written in stone, but the OIDs of those
types haven't changed in 10+ years, and there is no conceivable reason
to change them, so you can be pretty sure that they'll remain the same.




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

Предыдущее
От: Dmitriy Igrishin
Дата:
Сообщение: How oids of the base data types often change?
Следующее
От: Brett Hoerner
Дата:
Сообщение: Problem with pg_try_advisory_lock and two connections (seemingly) getting the same lock