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:16 -0400 |
commit | e542bfe61d3a9f96c4ffb8d2046fe31eb86fcd07 (patch) | |
tree | c384eeadbc87138f3583c0ba65001107b205695a /src/backend/access/gist/gistproc.c | |
parent | 01384f7bd55f220107eca5f96986aaf98ec061af (diff) | |
download | postgresql-e542bfe61d3a9f96c4ffb8d2046fe31eb86fcd07.tar.gz postgresql-e542bfe61d3a9f96c4ffb8d2046fe31eb86fcd07.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/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions