pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Golub <pavel@microolap.com>
To: pgsql-bugs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: pg_tablespace.spclocation column removed in 9.2
Date: Mon, 25 Jun 2012 08:26:24 +0300
Message-ID: <1571492617.20120625082624@gf.microolap.com> (raw)

Hello, Pgsql-bugs.

According to the "Moving tablespaces" thread started by Bruce
http://archives.postgresql.org/pgsql-docs/2011-12/msg00003.php
pg_tablespace.spclocation column is removed in the 9.2beta. However
this breaks backward compatibility for a bunch of products, e.g.
pgAdmin, phpPgAdmin, PgMDD etc.

I'm not sure this is the best choice. Because each application with
tablespace support will need additional check now to determine what
way to use for obtaining tablespace location:
pg_get_tablespace_location(oid) or tablespace.spclocation

I'm aware of problems caused by this hard coded column. My proposal is
to convert pg_tablespace to system view may be?

-- 
With best wishes,
 Pavel                          mailto:pavel@gf.microolap.com




view thread (5+ messages)  latest in thread

Message-ID: <1571492617.20120625082624@gf.microolap.com>
Permalink:  ../1571492617.20120625082624@gf.microolap.com/
Also on:    postgresql.org/message-id/1571492617.20120625082624@gf.microolap.com

 · 

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: pavel@microolap.com, 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>

* 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