pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix pg_stat_statements for MERGE
Date: Tue, 27 Sep 2022 08:46:46 +0000
Message-ID: <E1od6Eo-002Do8-Cy@gemulon.postgresql.org> (raw)

Fix pg_stat_statements for MERGE

We weren't jumbling the merge action list, so wildly different commands
would be considered to use the same query ID.  Add that, mention it in
the docs, and some test lines.

Backpatch to 15.

Author: Tatsu <bt22nakamorit@oss.nttdata.com>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://postgr.es/m/d87e391694db75a038abc3b2597828e8@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/249b0409b181311bb1c375311e43eb767b5c3bdd

Modified Files
--------------
.../expected/pg_stat_statements.out                | 41 +++++++++++++++++++++-
.../pg_stat_statements/sql/pg_stat_statements.sql  | 22 ++++++++++++
doc/src/sgml/pgstatstatements.sgml                 |  4 +--
src/backend/nodes/nodeFuncs.c                      |  4 +--
src/backend/utils/misc/queryjumble.c               | 11 ++++++
5 files changed, 77 insertions(+), 5 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1od6Eo-002Do8-Cy@gemulon.postgresql.org>
Permalink:  ../E1od6Eo-002Do8-Cy@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1od6Eo-002Do8-Cy@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix pg_stat_statements for MERGE
  In-Reply-To: <E1od6Eo-002Do8-Cy@gemulon.postgresql.org>
  References: <E1od6Eo-002Do8-Cy@gemulon.postgresql.org>

* 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