pg_stat_statements: more test coverage

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_stat_statements: more test coverage
Date: 2023-12-23 14:18:01
Message-ID: 40d1e4f2-835f-448f-a541-8ff5db75bf3d@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pg_stat_statements has some significant gaps in test coverage,
especially around the serialization of data around server restarts, so I
wrote a test for that and also made some other smaller tweaks to
increase the coverage a bit. These patches are all independent of each
other.

After that, the only major function that isn't tested is gc_qtexts().
Maybe a future project.

Attachment Content-Type Size
v1-0001-pg_stat_statements-Exclude-from-lcov-functions-th.patch text/plain 2.1 KB
v1-0002-pg_stat_statements-Add-coverage-for-pg_stat_state.patch text/plain 4.1 KB
v1-0003-pg_stat_statements-Add-coverage-for-pg_stat_state.patch text/plain 2.3 KB
v1-0004-pg_stat_statements-Add-coverage-for-entry_dealloc.patch text/plain 15.5 KB
v1-0005-pg_stat_statements-Add-TAP-test-for-testing-resta.patch text/plain 3.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2023-12-23 15:13:58 Password leakage avoidance
Previous Message Andrew Dunstan 2023-12-23 13:20:07 Re: authentication/t/001_password.pl trashes ~/.psql_history