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:44:39 -0700 |
commit | c1a0d7d1c4b77d978fe93edc0889589148cbad23 (patch) | |
tree | d1221ac4fa4b5151b8bb2f3cf3953618c6fb3491 /contrib/pageinspect/gistfuncs.c | |
parent | 6839aa7a6921d133a51e6162b9ee710ab712293d (diff) | |
download | postgresql-c1a0d7d1c4b77d978fe93edc0889589148cbad23.tar.gz postgresql-c1a0d7d1c4b77d978fe93edc0889589148cbad23.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 'contrib/pageinspect/gistfuncs.c')
0 files changed, 0 insertions, 0 deletions