Re: BUG #16667: COMMIT AND CHAIN does not udpates database metrics ie. xact_commit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: axgrech(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16667: COMMIT AND CHAIN does not udpates database metrics ie. xact_commit
Date: 2020-10-12 15:21:28
Message-ID: 3100749.1602516088@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Borisov 2020-10-12 16:03:28 Re: BUG #16329: Valgrind detects an invalid read when building a gist index with buffering
Previous Message Tom Lane 2020-10-12 15:13:38 Re: BUG #15858: could not stat file - over 4GB