1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +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

@@ -50,6 +50,7 @@ tests += {
'user_activity',
'wal',
'entry_timestamp',
'max',
'cleanup',
'oldextversions',
],