Re: pg_type oid's do they change from version to version - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_type oid's do they change from version to version
Date
Msg-id 200405200049.i4K0noi01398@candle.pha.pa.us
Whole thread Raw
In response to pg_type oid's do they change from version to version  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: pg_type oid's do they change from version to version  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Dave Cramer wrote:
> How much can we count on the type oid's remaining static from version to
> version? It turns out there is a design decision in the jdbc driver that
> could fail if they changed from one version to another and the client
> connected to both versions.

I don't think we have ever changed oids for existing data types, so you
should be OK.

> Also for getUDT, we need to translate type oid's into java type values,
> so if we can rely on the oids not changing then it would make it easier.

Right.  There has never been a reason to change them, and there is a
downside if we were to change them.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Call for 7.5 feature completion
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Call for 7.5 feature completion