pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix pg_stat_statements for MERGE 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix pg_stat_statements for MERGE @ 2022-09-27 08:46 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 2+ messages in thread From: Alvaro Herrera @ 2022-09-27 08:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix pg_stat_statements for MERGE @ 2022-09-27 08:46 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 2+ messages in thread From: Alvaro Herrera @ 2022-09-27 08:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/72abf03b6491a8df880e1fea45798797bcc86c47 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-09-27 08:46 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-09-27 08:46 pgsql: Fix pg_stat_statements for MERGE Alvaro Herrera <alvherre@alvh.no-ip.org> 2022-09-27 08:46 pgsql: Fix pg_stat_statements for MERGE Alvaro Herrera <alvherre@alvh.no-ip.org>
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