Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 37CE09FE16B for ; Thu, 14 Jun 2012 17:34:43 -0300 (ADT) Received: from mail-qc0-f174.google.com ([209.85.216.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SfGkY-00043a-6P for pgsql-bugs@postgresql.org; Thu, 14 Jun 2012 20:34:42 +0000 Received: by qcro28 with SMTP id o28so1244402qcr.19 for ; Thu, 14 Jun 2012 13:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=KubqlBKHFmjOF6iai8NqDyuXgTgZsU8GlzZ3RsWL1N8=; b=EVA4UvvAy5o3f41WupCn2mpvZCHf3nKzJ4sHYdeSDt2x7sgMtP88+pqZbyqGCx2uOI sQ0/Ci0BjsIqLZ4v3I+R2ionCzbRtJnxoijRdlB0/I9cn/QEgO4V4r6TiCB6AyLlNDcO GkCK/RvnY1g7httBQz5FFJT5Rwrs/O+Q11OwCnDtus+Xxir0+2MFSoringk23hFqrLNj 6EO3CpaWAYLJlH+kStlfnZlGyTg/PJ3t4ntA7jQUD6PkHRcRh7GDlizRbxH06xAsfdDm yshSO9ZvzXUOhpifhj1dLgTP4yZEQX3f+8MgsN5TJHiIsxiLEB+3/sRwtuwxdj7tBobE zjwg== Received: by 10.224.76.205 with SMTP id d13mr6833390qak.32.1339706064811; Thu, 14 Jun 2012 13:34:24 -0700 (PDT) Received: from llserver.lakeliving.com (ool-18bbd2c6.static.optonline.net. [24.187.210.198]) by mx.google.com with ESMTPS id gy5sm17987009qab.3.2012.06.14.13.34.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Jun 2012 13:34:23 -0700 (PDT) Date: Thu, 14 Jun 2012 16:34:20 -0400 From: Ryan Kelly To: phb.emaj@free.fr Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6694: 9.2 beta 2 : psql commands \db and \db+ fail Message-ID: <20120614203420.GC319@llserver.lakeliving.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.4 (-) X-Archive-Number: 201206/136 X-Sequence-Number: 33363 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