pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How oids of the base data types often change?
2+ messages / 2 participants
[nested] [flat]

* How oids of the base data types often change?
@ 2010-07-19 10:47 Dmitriy Igrishin <dmitigr@gmail.com>
  2010-07-19 11:04 ` Re: How oids of the base data types often change? Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Dmitriy Igrishin @ 2010-07-19 10:47 UTC (permalink / raw)
  To: pgsql-sql

Hey all,

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?

Regards,
Dmitriy

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How oids of the base data types often change?
  2010-07-19 10:47 How oids of the base data types often change? Dmitriy Igrishin <dmitigr@gmail.com>
@ 2010-07-19 11:04 ` Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2010-07-19 11:04 UTC (permalink / raw)
  To: Dmitriy Igrishin <dmitigr@gmail.com>; +Cc: 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.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-07-19 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-07-19 10:47 How oids of the base data types often change? Dmitriy Igrishin <dmitigr@gmail.com>
2010-07-19 11:04 ` Peter Eisentraut <peter_e@gmx.net>

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