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 1o1EwR-0007Zu-Os for pgsql-bugs@arkaria.postgresql.org; Tue, 14 Jun 2022 22:23:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o1EwQ-0006AA-Gj for pgsql-bugs@arkaria.postgresql.org; Tue, 14 Jun 2022 22:23:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1EwQ-0006A0-8l for pgsql-bugs@lists.postgresql.org; Tue, 14 Jun 2022 22:23:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1EwJ-0004yb-Rv for pgsql-bugs@lists.postgresql.org; Tue, 14 Jun 2022 22:23:17 +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 25EMI8mH166130; Tue, 14 Jun 2022 18:18:08 -0400 From: Tom Lane To: "okano.naoki@fujitsu.com" cc: "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #17514: Application with embedded SQL crashes when executing EXEC SQL PREPARE In-reply-to: References: <17514-edd4fad547c5692c@postgresql.org> <2060083.1654794096@sss.pgh.pa.us> Comments: In-reply-to "okano.naoki@fujitsu.com" message dated "Fri, 10 Jun 2022 05:09:19 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <166128.1655245088.1@sss.pgh.pa.us> Date: Tue, 14 Jun 2022 18:18:08 -0400 Message-ID: <166129.1655245088@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "okano.naoki@fujitsu.com" writes: > I applied this patch to the master branch, and confirmed that the > application resulted in an error instead of a crash. > As with PREPARE, executing DISCONNECT CURRENT also caused the > application to crash, but this patch has fixed that. > The patch looks good to me. Pushed then, thanks for testing! (Note that this will appear in the August releases, not in this week's 14.4 release.) regards, tom lane