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 1qi8ux-005IcN-8L for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Sep 2023 07:43:39 +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 1qi8uu-00FLDn-1h for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Sep 2023 07:43:36 +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 1qi8ut-00FLDX-24 for pgsql-hackers@lists.postgresql.org; Mon, 18 Sep 2023 07:43:35 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qi8uq-005Czs-32 for pgsql-hackers@lists.postgresql.org; Mon, 18 Sep 2023 07:43:33 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 74C233200939; Mon, 18 Sep 2023 03:43:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 18 Sep 2023 03:43:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1695023008; x= 1695109408; bh=ZBizduUJJkBG4n4VJUPmYRP5Uiy5xbfq+wasRRULEt8=; b=T mZtkk97y0ALWOY0Ch/hj4AAOAdq2nTFtTtdE+4Qqo8ghlS40sESPUQNugEd6S6AU t9twCl1Db5NiFoGaFebTYV8NjNtm86kZN7d4+TkJBA3iGohIFrINkOnAPxlTYkSy Rih22nKaqDO+OlqACeqxU5vikDZM+W8bI2R6cfMVpNV2GJh2Z0LCqugW1TB98tcl qJj8iaLTdF8PMkAXmmxZKIPQYfS5pTkInFVajHZ/Nsi2atnpX5C0rwqCpcI1u7g4 IV/uhp5fe8N/4cWX8T1dxm38YPKCQ4woE5m0VmBi7R/CFNkKyGI8leXeEuiEp+uA svEs0UdmWx+2G3+DQr+6Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudejjedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeej keffgfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghl vhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Sep 2023 03:43:28 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 3911AC5; Mon, 18 Sep 2023 09:43:25 +0200 (CEST) Date: Mon, 18 Sep 2023 09:43:25 +0200 From: Alvaro Herrera To: Peter Eisentraut Cc: Pg Hackers , Peter Eisentraut Subject: Re: information_schema and not-null constraints Message-ID: <202309180743.ylf2sxsus3x3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Sep-18, Peter Eisentraut wrote: > On 14.09.23 10:20, Peter Eisentraut wrote: > > Small correction here: This should be > > > > pg_catalog.format('%s IS NOT NULL', > > at.attname)::information_schema.character_data AS check_clause > > > > That is, the word "CHECK" and the parentheses should not be part of the > > produced value. > > I have committed this fix. Thanks. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/