aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-01-30 21:34:00 +0200
committerPeter Eisentraut <peter_e@gmx.net>2012-01-30 21:34:00 +0200
commitc6ea8ccea6bf23501962ddc7ac9ffdb99c8643e1 (patch)
tree30de0f6e9613755ca99ed755653f96b3bb375286 /src/backend/utils/adt/json.c
parent423ee49b491ee966aa06259772dc38819cab786a (diff)
downloadpostgresql-c6ea8ccea6bf23501962ddc7ac9ffdb99c8643e1.tar.gz
postgresql-c6ea8ccea6bf23501962ddc7ac9ffdb99c8643e1.zip
Use abort() instead of exit() to abort library functions
In some hopeless situations, certain library functions in libpq and libpgport quit the program. Use abort() for that instead of exit(), so we don't interfere with the normal exit codes the program might use, we clearly signal the abnormal termination, and the caller has a chance of catching the termination. This was originally pointed out by Debian's Lintian program.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions