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 1smQS1-005cyQ-0G for pgsql-committers@arkaria.postgresql.org; Fri, 06 Sep 2024 04:20:01 +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 1smQRz-006Iho-F2 for pgsql-committers@arkaria.postgresql.org; Fri, 06 Sep 2024 04:19:59 +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 1smQRz-006Ihg-7k for pgsql-committers@lists.postgresql.org; Fri, 06 Sep 2024 04:19:59 +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 1smQRt-000OLZ-Ms for pgsql-committers@lists.postgresql.org; Fri, 06 Sep 2024 04:19:58 +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 4864Jp6N2124535; Fri, 6 Sep 2024 00:19:51 -0400 From: Tom Lane To: Amit Langote cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: SQL/JSON: Avoid initializing unnecessary ON ERROR / ON EMPTY ste In-reply-to: References: <2123294.1725595759@sss.pgh.pa.us> Comments: In-reply-to Amit Langote message dated "Fri, 06 Sep 2024 13:18:01 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2124533.1725596391.1@sss.pgh.pa.us> Date: Fri, 06 Sep 2024 00:19:51 -0400 Message-ID: <2124534.1725596391@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Amit Langote writes: > Yes, thanks for the note. Will change the test case to test what are > deparsing related changes in some other manner. I usually prefer to test ruleutils.c by deparsing a suitable view. regards, tom lane