1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

pg_stat_statements: Add coverage for entry_dealloc()

This involves creating more than pg_stat_statements.max entries and
checking that the limit is kept and the least used entries are kicked
out.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/40d1e4f2-835f-448f-a541-8ff5db75bf3d@eisentraut.org
This commit is contained in:
Peter Eisentraut
2023-12-30 19:55:32 +01:00
parent a740b213d4
commit 742f6b3e6d
5 changed files with 147 additions and 1 deletions

View File

@ -1,2 +1,4 @@
shared_preload_libraries = 'pg_stat_statements'
max_prepared_transactions = 5
pg_stat_statements.max = 100