Re: type OIDs - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: type OIDs
Date
Msg-id 20000917185957.B6381@feivel.credativ.de
Whole thread Raw
In response to Re: type OIDs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Sep 15, 2000 at 10:23:01AM -0400, Tom Lane wrote:
> They are fixed in any one version, and really are not very likely to
> change across versions either.  But I suppose it could happen.

That's good enough for my usage I think.

> Exactly how "hard coded" do you mean?  If you #include "catalog/pg_types.h"
> and use the OID #defines therein, you're not doing any worse than a lot
> of places in the backend.  At worst you'd create a cross-major-version
> incompatibility for ecpg.

Sounds good. I will do that.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: ascii to character conversion in postgres
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: new relkind for view