Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLlQk-00Gqtt-Ii for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Dec 2024 15:48:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tLlQh-00DAD2-VZ for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Dec 2024 15:48:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLlQh-00DACu-Mo for pgsql-bugs@lists.postgresql.org; Thu, 12 Dec 2024 15:48:44 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLlQg-002TDM-HE for pgsql-bugs@lists.postgresql.org; Thu, 12 Dec 2024 15:48:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 4BCFmeOi652292; Thu, 12 Dec 2024 10:48:41 -0500 From: Tom Lane To: "Mike Bayer" cc: "David G. Johnston" , "pgsql-bugs@lists.postgresql.org" Subject: Re: invalid constraint type "n" when using pg_catalog.pg_get_constraintdef() on pg17, regression from pg16 In-reply-to: References: Comments: In-reply-to "Mike Bayer" message dated "Thu, 12 Dec 2024 09:55:08 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <652290.1734018520.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 12 Dec 2024 10:48:40 -0500 Message-ID: <652291.1734018520@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Mike Bayer" writes: > correct, this is observed using all Python postgresql drivers, I was usi= ng psql to make an easy repro As Jian said, this was reported and fixed last month. (I checked that your example works against v17 branch tip.) Should appear in 17.3. regards, tom lane