diff options
author | Andres Freund <andres@anarazel.de> | 2022-03-20 19:12:09 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-03-20 19:12:09 -0700 |
commit | 8363102009d8ee64255ad4948183f9d159eb8f4b (patch) | |
tree | 03049da609c2c963b59991e7a6f518da4c9c2b0e /src/backend/commands/sequence.c | |
parent | 2d655a08d532feed356222a8b1e427561dc7a883 (diff) | |
download | postgresql-8363102009d8ee64255ad4948183f9d159eb8f4b.tar.gz postgresql-8363102009d8ee64255ad4948183f9d159eb8f4b.zip |
pgstat: introduce pgstat_relation_should_count().
A later commit will make the check more complicated than the
current (rel)->pgstat_info != NULL. It also just seems nicer to have a central
copy of the logic, even while still simple.
Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
Diffstat (limited to 'src/backend/commands/sequence.c')
0 files changed, 0 insertions, 0 deletions