Re: Data type OIDs

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Data type OIDs
Дата
Msg-id AANLkTilgGg3XFgSYB3zm3GrWxdCSGdYGz9fdHE_Aj1h7@mail.gmail.com
обсуждение исходный текст
Ответ на Data type OIDs  (Greg <grigorey@yahoo.co.uk>)
Ответы Re: Data type OIDs  (Greg <grigorey@yahoo.co.uk>)
Список pgsql-novice
On 6 July 2010 23:12, Greg <grigorey@yahoo.co.uk> wrote:
Hi all, just a very quick question: Does OID of each data type stays the same in any installation of PostgreSql and when database is used e.g. OID for data type "bool" is 16, "char" is 18 etc. Or is the case that this identifiers can change?

Thanks!


I'm worried that the reason that you're asking is because you wish to use the oids elsewhere.  Don't rely on oids.  Those are for internal use only.  Have a look at pg_type for information on data types.

Why exactly are you asking?  What are you trying to do?

Thom

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

Предыдущее
От: Greg
Дата:
Сообщение: Data type OIDs
Следующее
От: "John T. Dow"
Дата:
Сообщение: Dropped table, no backup, restore from file system backup or WAL files?