Re: How oids of the base data types often change?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
Cc: postgres list <pgsql-sql(at)postgresql(dot)org>
Subject: Re: How oids of the base data types often change?
Date: 2010-07-19 11:04:53
Message-ID: 1279537493.4903.3.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On mån, 2010-07-19 at 14:47 +0400, Dmitriy Igrishin wrote:
> For example, when using libpq(-xx), it is possible to get the oid of
> the type of any column.
> Is there a guarantee that oids of base types (void, integer, ... )
> will not change in future
> releases of Postgres?

There is no actual "guarantee" written in stone, but the OIDs of those
types haven't changed in 10+ years, and there is no conceivable reason
to change them, so you can be pretty sure that they'll remain the same.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Brett Hoerner 2010-07-20 02:06:43 Problem with pg_try_advisory_lock and two connections (seemingly) getting the same lock
Previous Message Dmitriy Igrishin 2010-07-19 10:47:30 How oids of the base data types often change?