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 1pUC16-0005qu-Sw for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Feb 2023 19:40:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pUC15-0004Ps-RT for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Feb 2023 19:40:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUC15-0004Mo-Hl for pgsql-hackers@lists.postgresql.org; Mon, 20 Feb 2023 19:40:03 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUC13-0006bH-IE for pgsql-hackers@lists.postgresql.org; Mon, 20 Feb 2023 19:40:03 +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 31KJdxsJ3638946; Mon, 20 Feb 2023 14:39:59 -0500 From: Tom Lane To: Dean Rasheed cc: PostgreSQL Hackers Subject: Re: Missing cases from SPI_result_code_string() In-reply-to: References: Comments: In-reply-to Dean Rasheed message dated "Mon, 20 Feb 2023 18:52:16 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3638944.1676921999.1@sss.pgh.pa.us> Date: Mon, 20 Feb 2023 14:39:59 -0500 Message-ID: <3638945.1676921999@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dean Rasheed writes: > Another one noticed from the MERGE RETURNING patch -- the switch > statement in SPI_result_code_string() is missing cases for > SPI_OK_TD_REGISTER and SPI_OK_MERGE. Ugh. Grepping around, it looks like pltcl_process_SPI_result is missing a case for SPI_OK_MERGE as well. regards, tom lane