agora inbox for pgsql-interfaces@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hoon H. <drawtree@gmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?
Date: Thu, 05 Dec 2013 18:27:24 -0500
Message-ID: <22401.1386286044@sss.pgh.pa.us> (raw)
In-Reply-To: <69AD5777-82E3-4442-8EB6-DC7395C3D4BD@gmail.com>
References: <69AD5777-82E3-4442-8EB6-DC7395C3D4BD@gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 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 (pgsql-interfaces@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces



view thread (2+ messages)

Message-ID: <22401.1386286044@sss.pgh.pa.us>
Permalink:  ../22401.1386286044@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22401.1386286044@sss.pgh.pa.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, drawtree@gmail.com
  Subject: Re: Is it safe to use fundamental type OIDs defined in server/catalog/pg_type.h from client?
  In-Reply-To: <22401.1386286044@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox