pgsql: pg_stat_statements: Add tests with extended query protocol

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_stat_statements: Add tests with extended query protocol
Date: 2024-09-13 00:42:22
Message-ID: E1souOE-000pXQ-5B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_stat_statements: Add tests with extended query protocol

There are currently no tests in the tree checking that queries using the
extended query protocol are able to map with their query ID.

This can be achieved for some paths of the extended query protocol with
the psql meta-commands \bind or \bind_named, so let's add some tests
based on both.

I have found that to be a useful addition while working on a different
issue.

Discussion: https://postgr.es/m/ZuEt6MOEBSlifBfn@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7b1ddbae361b0ed92d5696d666ae85a2cc4dd883

Modified Files
--------------
contrib/pg_stat_statements/Makefile | 2 +-
contrib/pg_stat_statements/expected/extended.out | 62 ++++++++++++++++++++++++
contrib/pg_stat_statements/meson.build | 1 +
contrib/pg_stat_statements/sql/extended.sql | 17 +++++++
4 files changed, 81 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2024-09-13 04:02:53 pgsql: Prohibit altering invalidated replication slots.
Previous Message Nathan Bossart 2024-09-12 21:33:27 pgsql: Reintroduce support for sequences in pgstattuple and pageinspect