From: Ryan Kelly <rpkelly22@gmail.com>
To: phb.emaj@free.fr
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6694: 9.2 beta 2 : psql commands \db and \db+ fail
Date: Thu, 14 Jun 2012 16:34:20 -0400
Message-ID: <20120614203420.GC319@llserver.lakeliving.com> (raw)
In-Reply-To: <E1Set43-0001xm-7A@wrigleys.postgresql.org>
References: <E1Set43-0001xm-7A@wrigleys.postgresql.org>
On Wed, Jun 13, 2012 at 07:17:11PM +0000, phb.emaj@free.fr wrote:
> The following bug has been logged on the website:
>
> Bug reference: 6694
> Logged by: Philippe Beaudoin
> Email address: phb.emaj@free.fr
> PostgreSQL version: Unsupported/Unknown
> Operating system: linux
> Description:
>
> Using the latest 9.2 beta 2 version, I got an error when issuing \db or \db+
> psql command.
>
> paf=# select version();
>
> version
>
>
> ----------------------------------------------------------------------------------------------------------
>
> PostgreSQL 9.2beta2 on i686-pc-linux-gnu, compiled by gcc (GCC) 4.4.0
> 20090506 (Red Hat 4.4.0-4), 32-bit
>
> (1 row)
>
>
>
> paf=# \db
>
> ERROR: column "spclocation" does not exist
>
> LINE 3: spclocation AS "Location"
>
> ^
>
> paf=# \db+
>
> ERROR: column "spclocation" does not exist
>
> LINE 3: spclocation AS "Location",
>
> ^
> I presume this is linked to the "Remove the spclocation field from
> pg_tablespace" item of the release notes
> and that something like the new pg_tablespace_location() function should be
> used by psql.
Are you using the psql provided by 9.2 beta 2? Or an older version? It
appears that the version of psql in 9.2 beta 2 does the correct thing,
look at src/bin/psql/describe.c line 142 or so.
>
> Regards. Philippe.
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
-Ryan Kelly
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: rpkelly22@gmail.com, phb.emaj@free.fr
Subject: Re: BUG #6694: 9.2 beta 2 : psql commands \db and \db+ fail
In-Reply-To: <20120614203420.GC319@llserver.lakeliving.com>
References: <E1Set43-0001xm-7A@wrigleys.postgresql.org> <20120614203420.GC319@llserver.lakeliving.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