diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-06-16 12:17:03 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-06-16 12:17:11 -0400 |
commit | 4f5995dd983db31bce347411c16ecc7319a2d9af (patch) | |
tree | 3ae5c8b0d9838d505ecfe65e60f604c2871f0d7b /src/backend/utils/adt/inet_net_pton.c | |
parent | 455812da4820b21c938fac840c17e68d4ec856a9 (diff) | |
download | postgresql-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