pgsql: Protect pg_stat_reset_shared() against NULL input

Started by Magnus Haganderabout 15 years ago1 messagescomitters
Jump to latest
#1Magnus Hagander
magnus@hagander.net

Protect pg_stat_reset_shared() against NULL input

Per bug #6082, reported by Steve Haslam

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3ec6e00ece5fc7483f8890306005f97a2c640861

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)