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

From Tom Lane
Subject Re: Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?
Date
Msg-id 22401.1386286044@sss.pgh.pa.us
Whole thread Raw
In response to Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?  ("Hoon H." <drawtree@gmail.com>)
List pgsql-interfaces
"Hoon H." <drawtree@gmail.com> writes:
> According to some mailing list entries, 

> http://www.postgresql.org/message-id/20080708000535.GA10491@cuci.nl
> http://www.postgresql.org/message-id/AANLkTimiNjQa7ws1tyR_W6RQPec6RlxQtWfACNMnZ_1P@mail.gmail.com

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



pgsql-interfaces by date:

Previous
From: "Hoon H."
Date:
Subject: Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?
Next
From: "Francisco Figueiredo Jr."
Date:
Subject: Npgsql 2.0.14 released!