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

Tom Lane <[email protected]> Thu, 05 Dec 2013 18:27:24 -0500
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
"Hoon H." <[email protected]> writes:
> According to some mailing list entries, 

> http://www.postgresql.org/message-id/[email protected]
> http://www.postgresql.org/message-id/[email protected]

> It seems safe to use macros defined in `server/catalog/pg_type.h`, but I still doubt because I couldn't find any official policy 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


-- 
Sent via pgsql-interfaces mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces