pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthias Apitz <guru@unixarea.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: ESQL/C: a ROLLBACK rolls back a COMMITED transaction
Date: Wed, 13 May 2020 10:15:42 -0400
Message-ID: <31687.1589379342@sss.pgh.pa.us> (raw)
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>

Matthias Apitz <guru@unixarea.de> 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





view thread (16+ messages)  latest in thread

Message-ID: <31687.1589379342@sss.pgh.pa.us>
Permalink:  ../31687.1589379342@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/31687.1589379342@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, guru@unixarea.de
  Subject: Re: ESQL/C: a ROLLBACK rolls back a COMMITED transaction
  In-Reply-To: <31687.1589379342@sss.pgh.pa.us>
  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> <31687.1589379342@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox