pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: axgrech@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16667: COMMIT AND CHAIN does not udpates database metrics ie. xact_commit
Date: Mon, 12 Oct 2020 11:21:28 -0400
Message-ID: <3100749.1602516088@sss.pgh.pa.us> (raw)
In-Reply-To: <16667-f86da4a2ede6435f@postgresql.org>
References: <16667-f86da4a2ede6435f@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> We have an application that uses a new feature COMMIT AND CHAIN, the
> application works generaly OK, but we have noticed that the pg_stat_database
> (xact_commit/xact_rollback) are not updated, as they are if we used
> BEGIN/COMMIT/BEGIN.

I can't reproduce that here.  Indeed, in a quick check I'd say the
opposite: it looks like xact_commit advances twice where I'd only
have expected it to advance once.

			regards, tom lane





view thread (3+ messages)  latest in thread

Message-ID: <3100749.1602516088@sss.pgh.pa.us>
Permalink:  ../3100749.1602516088@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3100749.1602516088@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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, axgrech@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16667: COMMIT AND CHAIN does not udpates database metrics ie. xact_commit
  In-Reply-To: <3100749.1602516088@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