Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 23C2D2B2867; Mon, 25 Jun 2012 10:47:12 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Sj9d7-00022D-Mw; Mon, 25 Jun 2012 13:47:08 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q5PDkQCn020032; Mon, 25 Jun 2012 09:46:26 -0400 (EDT) From: Tom Lane To: Pavel Golub , Pavel Golub cc: pgsql-bugs@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: pg_tablespace.spclocation column removed in 9.2 In-reply-to: <1571492617.20120625082624@gf.microolap.com> References: <1571492617.20120625082624@gf.microolap.com> Comments: In-reply-to Pavel Golub message dated "Mon, 25 Jun 2012 08:26:24 +0300" Date: Mon, 25 Jun 2012 09:46:26 -0400 Message-ID: <20031.1340631986@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/203 X-Sequence-Number: 33430 Pavel Golub 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