aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/inet_net_pton.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-06-16 12:17:03 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-06-16 12:17:11 -0400
commit4f5995dd983db31bce347411c16ecc7319a2d9af (patch)
tree3ae5c8b0d9838d505ecfe65e60f604c2871f0d7b /src/backend/utils/adt/inet_net_pton.c
parent455812da4820b21c938fac840c17e68d4ec856a9 (diff)
downloadpostgresql-4f5995dd983db31bce347411c16ecc7319a2d9af.tar.gz
postgresql-4f5995dd983db31bce347411c16ecc7319a2d9af.zip
Avoid crash in "postgres -C guc" for a GUC with a null string value.
Emit "(null)" instead, which was the behavior all along on platforms that don't crash, eg OS X. Per report from Jehan-Guillaume de Rorthais. Back-patch to 9.2 where -C option was introduced. Michael Paquier Report: <20160615204036.2d35d86a@firost>
Diffstat (limited to 'src/backend/utils/adt/inet_net_pton.c')
0 files changed, 0 insertions, 0 deletions