diff options
author | Andres Freund <andres@anarazel.de> | 2022-03-27 21:39:43 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-03-27 21:46:23 -0700 |
commit | 43a7dc96eb363f87286494223861301361ce766c (patch) | |
tree | 32410d397df495ebd68de369485cb46817d9dd43 /src/backend/utils/adt/jsonpath.c | |
parent | 8af36427d4cc783a9efe8781889ea0936f1d48dd (diff) | |
download | postgresql-43a7dc96eb363f87286494223861301361ce766c.tar.gz postgresql-43a7dc96eb363f87286494223861301361ce766c.zip |
Fix NULL input behaviour of pg_stat_get_replication_slot().
pg_stat_get_replication_slot() accidentally was marked as non-strict, crashing
when called with NULL input. As it's already released, introduce an explicit
NULL check in 14, fix the catalog in HEAD.
Bumps catversion in HEAD.
Discussion: https://postgr.es/m/20220326212432.s5n2maw6kugnpyxw@alap3.anarazel.de
Backpatch: 14-, where replication slot stats were introduced
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions