pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #16005: cannot use \d to get description of table
2+ messages / 2 participants
[nested] [flat]

* BUG #16005: cannot use \d to get description of table
@ 2019-09-12 12:35 PG Bug reporting form <noreply@postgresql.org>
  2019-09-12 12:41 ` Re: BUG #16005: cannot use \d to get description of table Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2019-09-12 12:35 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: mariel.cherkassky@gmail.com

The following bug has been logged on the website:

Bug reference:      16005
Logged by:          mariel cherkassky
Email address:      mariel.cherkassky@gmail.com
PostgreSQL version: 12beta3
Operating system:   centos6
Description:        

I just upgraded from 11 to 12betav3 in one of my test environments.
Whenever I try to get description of a table with \d I'm getting the
following error :  
postgres=# \d backup
2019-09-12 15:35:11.165 IDT [27877] ERROR:  column c.relhasoids does not
exist at character 121
2019-09-12 15:35:11.165 IDT [27877] STATEMENT:  SELECT c.relchecks,
c.relkind, c.relhasindex, c.relhasrules, c.relhastriggers, c.relrowsecurity,
c.relforcerowsecurity, c.relhasoids, '', c.reltablespace, CASE WHEN
c.reloftype = 0 THEN '' ELSE
c.reloftype::pg_catalog.regtype::pg_catalog.text END, c.relpersistence,
c.relreplident
        FROM pg_catalog.pg_class c
         LEFT JOIN pg_catalog.pg_class tc ON (c.reltoastrelid = tc.oid)
        WHERE c.oid = '940549';
ERROR:  column c.relhasoids does not exist
LINE 1: ...riggers, c.relrowsecurity, c.relforcerowsecurity, c.relhasoi...



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #16005: cannot use \d to get description of table
  2019-09-12 12:35 BUG #16005: cannot use \d to get description of table PG Bug reporting form <noreply@postgresql.org>
@ 2019-09-12 12:41 ` Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2019-09-12 12:41 UTC (permalink / raw)
  To: mariel.cherkassky@gmail.com; pgsql-bugs@lists.postgresql.org

On 2019-Sep-12, PG Bug reporting form wrote:

> I just upgraded from 11 to 12betav3 in one of my test environments.
> Whenever I try to get description of a table with \d I'm getting the
> following error :  
> postgres=# \d backup
> 2019-09-12 15:35:11.165 IDT [27877] ERROR:  column c.relhasoids does not
> exist at character 121

That's right ... psql v11 is not able to interpret your v12 server's
catalog.  You can use psql from v12.  This is not a bug.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-09-12 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 12:35 BUG #16005: cannot use \d to get description of table PG Bug reporting form <noreply@postgresql.org>
2019-09-12 12:41 ` Alvaro Herrera <alvherre@2ndquadrant.com>

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