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 1jYepu-0003vL-V2 for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2020 00:01:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYept-0003CS-SX for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2020 00:01:21 +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 1jYept-0003C3-Km for pgsql-general@lists.postgresql.org; Wed, 13 May 2020 00:01:21 +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 1jYepr-0003HG-4l for pgsql-general@lists.postgresql.org; Wed, 13 May 2020 00:01:21 +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 04D01F9F002137; Tue, 12 May 2020 20:01:15 -0400 From: Tom Lane To: Matthias Apitz cc: Adrian Klaver , pgsql-general@lists.postgresql.org Subject: Re: ESQL/C: a ROLLBACK rolls back a COMMITED transaction In-reply-to: <20200512235207.GA3420@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> Comments: In-reply-to Matthias Apitz message dated "Wed, 13 May 2020 01:52:07 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2135.1589328075.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 12 May 2020 20:01:15 -0400 Message-ID: <2136.1589328075@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Matthias Apitz writes: > And in the log the line logged is: > [1471] [12.05.2020 15:48:50:476]: ecpg_process_output on line 1744: OK: = INSERT 0 1 > What I wanted to have is: > [1471] [12.05.2020 15:48:50:476]: ecpg_process_output on line 1744 of sw= d_daten.pgc: OK: INSERT 0 1 > i.e. have added the file name to the line number as "on line 1744 of > swd_daten.pgc" to not always have to think, hey in which table we're > with this at the moment. Not an unreasonable suggestion, but it'd be more likely to happen if you send in a patch ;-). regards, tom lane