aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-01-25 20:19:07 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-01-25 20:19:07 -0500
commit138a5c4a909dc96c0f3a95123639ee7e014c7f38 (patch)
tree3af5a43b4424f86e11dadae84f652c1c38e19588 /src/backend/tcop
parent91964c3ed1c49d9a8670d3f85a660181cc541c7c (diff)
downloadpostgresql-138a5c4a909dc96c0f3a95123639ee7e014c7f38.tar.gz
postgresql-138a5c4a909dc96c0f3a95123639ee7e014c7f38.zip
Clean up assorted issues in ALTER SYSTEM coding.
Fix unsafe use of a non-volatile variable in PG_TRY/PG_CATCH in AlterSystemSetConfigFile(). While at it, clean up a bundle of other infelicities and outright bugs, including corner-case-incorrect linked list manipulation, a poorly designed and worse documented parse-and-validate function (which even included some randomly chosen hard-wired substitutes for the specified elevel in one code path ... wtf?), direct use of open() instead of fd.c's facilities, inadequate checking of write()'s return value, and generally poorly written commentary.
Diffstat (limited to 'src/backend/tcop')
0 files changed, 0 insertions, 0 deletions