How oids of the base data types often change?

Поиск
Список
Период
Сортировка
Искать

How oids of the base data types often change?

От:
Dmitriy Igrishin <dmitigr@gmail.com>
Дата:
Hey all,

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?

Regards,
Dmitriy

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

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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.



FAQ