From: Peter Eisentraut <peter_e@gmx.net>
To: Dmitriy Igrishin <dmitigr@gmail.com>
Cc: postgres list <pgsql-sql@postgresql.org>
Subject: Re: How oids of the base data types often change?
Date: Mon, 19 Jul 2010 14:04:53 +0300
Message-ID: <1279537493.4903.3.camel@fsopti579.F-Secure.com> (raw)
In-Reply-To: <AANLkTimI5g1xOdMBWZNa5RV3BnR66dfuy9UmoHLPHRiT@mail.gmail.com>
References: <AANLkTimI5g1xOdMBWZNa5RV3BnR66dfuy9UmoHLPHRiT@mail.gmail.com>
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.
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-sql@postgresql.org
Cc: peter_e@gmx.net, dmitigr@gmail.com
Subject: Re: How oids of the base data types often change?
In-Reply-To: <1279537493.4903.3.camel@fsopti579.F-Secure.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox