pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Srinivasa T N <seenutn@gmail.com>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: Meaning of below statement
Date: Fri, 20 Nov 2020 10:41:56 -0500
Message-ID: <1301063.1605886916@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwYq5nFtytpOnvGuVj4n-wLRuZQMCpYPh0dNApbOQTgvJg@mail.gmail.com>
References: <CAFruNde0MKCkP8A1bEBBAGpKLpxunhcoJZhWO2dAzjhpOYvsAA@mail.gmail.com>
	<CAKFQuwYq5nFtytpOnvGuVj4n-wLRuZQMCpYPh0dNApbOQTgvJg@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Friday, November 20, 2020, Srinivasa T N <seenutn@gmail.com> wrote:
>> 2020-11-20 11:20:46.218 IST [38207] LOG: execute S_3: ROLLBACK

> If there was an error you would see an error message.  Plus, PostgreSQL
> doesn’t just internally issue a rollback on its own.  That said I’m not
> sure what is being shown, or rather where the “execute” stuff comes from.

The "execute" says this is an execution of a previously prepared query,
ie the client is using extended query protocol rather than simple.
It's got nothing much to do with the semantics though.  It seems clear
that the client chose to roll back the transaction; the server did not
do that.

			regards, tom lane





view thread (4+ messages)

Message-ID: <1301063.1605886916@sss.pgh.pa.us>
Permalink:  ../1301063.1605886916@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1301063.1605886916@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, david.g.johnston@gmail.com, seenutn@gmail.com
  Subject: Re: Meaning of below statement
  In-Reply-To: <1301063.1605886916@sss.pgh.pa.us>
  References: <CAFruNde0MKCkP8A1bEBBAGpKLpxunhcoJZhWO2dAzjhpOYvsAA@mail.gmail.com> <CAKFQuwYq5nFtytpOnvGuVj4n-wLRuZQMCpYPh0dNApbOQTgvJg@mail.gmail.com> <1301063.1605886916@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