diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-03-26 07:25:23 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-03-26 07:25:23 +0900 |
commit | 3430215fe35f96e4be355c93e275f00656800602 (patch) | |
tree | a186379d675cab8fffd9fb79e2bbd5b2ef18364b /doc/src | |
parent | 626d7236b65da50423df7de035e86f273cd36b49 (diff) | |
download | postgresql-3430215fe35f96e4be355c93e275f00656800602.tar.gz postgresql-3430215fe35f96e4be355c93e275f00656800602.zip |
pg_stat_statements: Add more tests with temp tables and namespaces
These tests provide coverage for RangeTblEntry and how query jumbling
works with search_path, as well as the case where relations are
re-created, generating a different query ID as the relation OID is used
in the computation.
A patch is under discussion to switch to a different approach based on
the relation name, and there was no test coverage for this area,
including how queries are currently grouped with search_path. This is
useful to track how the situation changes between HEAD and any patches
proposed.
Christoph has proposed the test with ON COMMIT DROP temporary tables,
and I have written the second part.
Author: Christoph Berg <myon@debian.org>
Author: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/Z9iWXKGwkm8RAC93@msg.df7cb.de
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions