pgsql: pgstat: add pg_stat_have_stats() test helper.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pgstat: add pg_stat_have_stats() test helper.
Date: 2022-04-07 07:23:40
Message-ID: E1ncMUV-000hY3-RH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pgstat: add pg_stat_have_stats() test helper.

Will be used by tests committed subsequently.

Bumps catversion (this time for real, the one in 0f96965c658 got lost when
rebasing over 5c279a6d350).

Author: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAAKRu_aNxL1WegCa45r=VAViCLnpOU7uNC7bTtGw+=QAPyYivw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ad401664b8012cafb64e8fce33fe40356c5bc686

Modified Files
--------------
src/backend/catalog/system_functions.sql | 2 ++
src/backend/utils/activity/pgstat.c | 10 ++++++++++
src/backend/utils/adt/pgstatfuncs.c | 18 ++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 6 ++++++
src/include/pgstat.h | 2 ++
6 files changed, 39 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-04-07 07:31:49 Re: pgsql: pgstat: store statistics in shared memory.
Previous Message Andres Freund 2022-04-07 07:11:51 Re: pgsql: pgstat: add pg_stat_force_next_flush(), use it to simplify tests