pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Golub <pavel@gf.microolap.com>
To: Pavel Golub <pavel@microolap.com>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: pg_tablespace.spclocation column removed in 9.2
Date: Mon, 25 Jun 2012 09:46:26 -0400
Message-ID: <20031.1340631986@sss.pgh.pa.us> (raw)
In-Reply-To: <1571492617.20120625082624@gf.microolap.com>
References: <1571492617.20120625082624@gf.microolap.com>

Pavel Golub <pavel@microolap.com> writes:
> I'm aware of problems caused by this hard coded column. My proposal is
> to convert pg_tablespace to system view may be?

It's not that easy to make a 100% backwards compatible view for a system
catalog.  The main sticking point is the OID column; see recent problems
with pg_roles' OID column for an example.  On the whole I don't think
renaming pg_tablespace and inserting a mostly-compatible view would be
a net advance.

More generally, I don't see that this particular incompatibility in
the system catalogs is worse than many others that we've perpetrated.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <20031.1340631986@sss.pgh.pa.us>
Permalink:  ../20031.1340631986@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20031.1340631986@sss.pgh.pa.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pavel@gf.microolap.com, pavel@microolap.com, pgsql-hackers@postgresql.org
  Subject: Re: pg_tablespace.spclocation column removed in 9.2
  In-Reply-To: <20031.1340631986@sss.pgh.pa.us>
  References: <1571492617.20120625082624@gf.microolap.com> <20031.1340631986@sss.pgh.pa.us>

* 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