pg_stat_statements: Add tests with extended query protocol
authorMichael Paquier <michael@paquier.xyz>
Fri, 13 Sep 2024 00:41:06 +0000 (09:41 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 13 Sep 2024 00:41:06 +0000 (09:41 +0900)
commit7b1ddbae361b0ed92d5696d666ae85a2cc4dd883
tree80e1348ee248629073e2139b6c7792688737ea69
parent05036a3155c1e8d21500b5ecbbc2f8fbeb4aea66
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
contrib/pg_stat_statements/Makefile
contrib/pg_stat_statements/expected/extended.out [new file with mode: 0644]
contrib/pg_stat_statements/meson.build
contrib/pg_stat_statements/sql/extended.sql [new file with mode: 0644]