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 1jYsAq-0005Dh-49 for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2020 14:15:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYsAo-0002Ys-Qi for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2020 14:15:50 +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 1jYsAo-0002Yl-JL for pgsql-general@lists.postgresql.org; Wed, 13 May 2020 14:15:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYsAi-0006w3-9g for pgsql-general@lists.postgresql.org; Wed, 13 May 2020 14:15:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 04DEFgL4031688; Wed, 13 May 2020 10:15:42 -0400 From: Tom Lane To: Matthias Apitz cc: pgsql-general@lists.postgresql.org Subject: Re: ESQL/C: a ROLLBACK rolls back a COMMITED transaction In-reply-to: <20200513052731.GA26063@sh4-5.1blu.de> References: <20200512145352.GA32335@sh4-5.1blu.de> <23100.1589298880@sss.pgh.pa.us> <20200512191429.GB32335@sh4-5.1blu.de> <9dbc6477-f9a2-b62a-e011-0983fe150741@aklaver.com> <20200512235207.GA3420@sh4-5.1blu.de> <2136.1589328075@sss.pgh.pa.us> <20200513052731.GA26063@sh4-5.1blu.de> Comments: In-reply-to Matthias Apitz message dated "Wed, 13 May 2020 07:27:31 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <31686.1589379342.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Wed, 13 May 2020 10:15:42 -0400 Message-ID: <31687.1589379342@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Matthias Apitz writes: > El día Dienstag, Mai 12, 2020 a las 08:01:15 -0400, Tom Lane escribió: >> Not an unreasonable suggestion, but it'd be more likely to happen if >> you send in a patch ;-). > as the first argument to ECPGdo() is of type int we can not do a hack > like "__LINE__:"__FILE__ (i.e. concatenating line number and filename > into one string. We have to change the call interface function ECPGdo() > and add a string argument. Yeah, now that you mention that, this was discussed before. We cannot change the signature of ECPGdo as that would break existing client binaries. We could leave it alone (and unused by newer compilations) if we add a new entry point, though. "ECPGnewdo()", anybody? regards, tom lane