Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRFke-0005ps-QK for pgsql-general@arkaria.postgresql.org; Sun, 12 Feb 2023 17:02:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pRFkd-0005eg-D1 for pgsql-general@arkaria.postgresql.org; Sun, 12 Feb 2023 17:02:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRFkd-0005eX-25 for pgsql-general@lists.postgresql.org; Sun, 12 Feb 2023 17:02:55 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRFka-0007kt-Jn for pgsql-general@lists.postgresql.org; Sun, 12 Feb 2023 17:02:53 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 0DE32320055E; Sun, 12 Feb 2023 12:02:50 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 12 Feb 2023 12:02:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1676221370; x= 1676307770; bh=FpQL7b1eLWqBKlgPY0TaYPTx5DGX7uDLPAuMtvNEdAs=; b=G 5gDZxJeER0ZYjazQe6pBDp9RgxyCFiBqnfbOsEM6q5zvXRQuKdN8HbIh8TS6joYd dWttWvpERwWDGRH0SMlDnYAkaIfuLgr8MIjbQ4yEVSRZVGOw5BnlCp68gxSLkgPm J8rcRjtUEFkjo7Yd6oLFQRxyLaJBNRyut0XIrBZENlnfqa6IW6UiyTqIeei0mpn8 RzdIKQ9AT8QaHoaUBwPo8/YPr4/cIWvq8/k/I2u5HNS9dlzoxWenQwNfy//xnZO1 OXouhhhCjfNaEXX841koR0ggRHYRu5u+lL6ldQAg47rmPUVeLVxThRH6SoCRcGqW 7h4RfBtFwxeKBJWsPu9LA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1676221370; x=1676307770; bh=F pQL7b1eLWqBKlgPY0TaYPTx5DGX7uDLPAuMtvNEdAs=; b=eE4I8XpfBnhFrg6sX +apzBQsdJwo6FKZtjqlTnSGb8D4X5te1A/SKHczAJBkMUgtzthE0vPyXsne7PKYC x9ZQ8QJRTwEK7WNi8NZO0eJgzmmBILIayJK/CeK26XObYBMnZ7cV6lCx2zLVwBcF m4ihg6YT83TA0+BiDU/P4V4qdzrr5gSqA9H8S6jXsWCwwzFK58kMkyQsuFRH1jEb wsNp7L1IXnNbx3ULu3Tx/F/9qpgOnMAOTyCvKjKFCWdpl7WkUD7bERds39i//e+C a2wD//qTLssKxkHqgMytQ00KbzJ0A/BuuXGdfGSjyH/pZZDJ1VZ7Nb2M/y1/HqiC aU2yA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudehledgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepudfgueelge evfffhgeeljeehhfettdegieelgefgheefffefveegjedtueetffdtnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Feb 2023 12:02:50 -0500 (EST) Message-ID: <1e4482c4-9c86-f36a-e29a-6a07d6bb2993@aklaver.com> Date: Sun, 12 Feb 2023 09:02:49 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: psql "\d" no longer working Content-Language: en-US To: Ron , pgsql-general@lists.postgresql.org References: <4c04eb58-37ed-b756-501a-287f4fbc849b@gmail.com> From: Adrian Klaver In-Reply-To: <4c04eb58-37ed-b756-501a-287f4fbc849b@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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