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 1qdGPq-002lha-H8 for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Sep 2023 20:43:22 +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 1qdGPo-00EI16-G1 for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Sep 2023 20:43:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qdGPo-00EHz0-4f for pgsql-hackers@lists.postgresql.org; Mon, 04 Sep 2023 20:43:19 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qdGPg-0033Zm-4z for pgsql-hackers@lists.postgresql.org; Mon, 04 Sep 2023 20:43:19 +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 384Kh7tt1196275; Mon, 4 Sep 2023 16:43:07 -0400 From: Tom Lane To: Alvaro Herrera cc: Pg Hackers , Peter Eisentraut Subject: Re: information_schema and not-null constraints In-reply-to: <202309041710.psytrxlsiqex@alvherre.pgsql> References: <202309041710.psytrxlsiqex@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Mon, 04 Sep 2023 19:10:06 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1196273.1693860187.1@sss.pgh.pa.us> Date: Mon, 04 Sep 2023 16:43:07 -0400 Message-ID: <1196274.1693860187@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > In 0002, I took the tests added by Peter's proposed patch and put them > in a separate test file that runs at the end. There are some issues, > however. One is that the ORDER BY clause in the check_constraints view > is not fully deterministic, because the table name is not part of the > view definition, so we cannot sort by table name. I object very very strongly to this proposed test method. It completely undoes the work I did in v15 (cc50080a8 and related) to make the core regression test scripts mostly independent of each other. Even without considering the use-case of running a subset of the tests, the new test's expected output will constantly be needing updates as side effects of unrelated changes. regards, tom lane