Do the datatypes have set id/oid that are constant?

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

Do the datatypes have set id/oid that are constant?

От:
Mark Worsdall <mysql@wizdom.org.uk>
Дата:
Hi,

I was wandering if the oid's for the datatypes are the same for every 
installation of postgres?

M.

-- 
Mark Worsdall
https://www.paypal.com/refer/pal=LS79YHQ9VUGLJ

Re: Do the datatypes have set id/oid that are constant?

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Mark Worsdall  writes:
> I was wandering if the oid's for the datatypes are the same for every 
> installation of postgres?

Built-in datatypes will have the same OIDs in every installation of a
given version (and, in practice, they generally don't change across
versions either).  Types created after initdb will have variable OIDs.

			regards, tom lane
FAQ