pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: psql "\d" no longer working
Date: Sun, 12 Feb 2023 09:02:49 -0800
Message-ID: <1e4482c4-9c86-f36a-e29a-6a07d6bb2993@aklaver.com> (raw)
In-Reply-To: <4c04eb58-37ed-b756-501a-287f4fbc849b@gmail.com>
References: <a66b305d-d9ce-ddb3-4385-2d3c567de412@gmail.com>
	<4c04eb58-37ed-b756-501a-287f4fbc849b@gmail.com>

On 2/12/23 08:49, Ron wrote:
> On 2/12/23 03:02, Rob Sargent wrote:
>>
>>

>>     2023-02-10 13:42:55.214 MST [524159] STATEMENT:  SELECT
>>     c.relchecks, c.relkind, c.relhasindex, c.relhasrules,
>>     c.relhastriggers, c.relhasoids, '', c.reltablespace, CASE WHEN
>>     c.reloftype = 0 THEN '' ELSE
>>     c.reloftype::pg_catalog.regtype::pg_catalog.text END, c.relpersistence
>>             FROM pg_catalog.pg_class c
>>              LEFT JOIN pg_catalog.pg_class tc ON (c.reltoastrelid =
>>     tc.oid)
>>             WHERE c.oid = '219319';
>>     2023-02-10 13:43:01.143 MST [524159] ERROR:  column c.relhasoids
>>     does not exist at character 80
>>
>> but I don't see any other issue in the log file.
>>
>> I have yet to find another broken meta-command and no sql of mine has 
>> failed along similar lines as had "\d"
>>
>> Any pointers much appreciated.
>>
> 
> What is your search_path set to?

I doubt that is the problem as the issue is the column in the table not 
finding the table. pg_class.relhasoids no longer exists 12+, so the post 
from Georg is probably pointing in the right direction.

> 
> -- 
> Born in Arizona, moved to Babylonia.

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (6+ messages)  latest in thread

Message-ID: <1e4482c4-9c86-f36a-e29a-6a07d6bb2993@aklaver.com>
Permalink:  ../1e4482c4-9c86-f36a-e29a-6a07d6bb2993@aklaver.com/
Also on:    postgresql.org/message-id/1e4482c4-9c86-f36a-e29a-6a07d6bb2993@aklaver.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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com
  Subject: Re: psql "\d" no longer working
  In-Reply-To: <1e4482c4-9c86-f36a-e29a-6a07d6bb2993@aklaver.com>
  References: <a66b305d-d9ce-ddb3-4385-2d3c567de412@gmail.com> <4c04eb58-37ed-b756-501a-287f4fbc849b@gmail.com> <1e4482c4-9c86-f36a-e29a-6a07d6bb2993@aklaver.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