pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Clean up assorted issues in ALTER SYSTEM coding. 2+ messages / 1 participants [nested] [flat]
* pgsql: Clean up assorted issues in ALTER SYSTEM coding. @ 2015-01-26 01:19 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2015-01-26 01:19 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/138a5c4a909dc96c0f3a95123639ee7e014c7f38 Modified Files -------------- src/backend/utils/misc/guc-file.l | 138 +++------ src/backend/utils/misc/guc.c | 618 ++++++++++++++++++------------------- 2 files changed, 349 insertions(+), 407 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Clean up assorted issues in ALTER SYSTEM coding. @ 2015-01-26 01:19 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2015-01-26 01:19 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/bf007a27acd7b2fbaa4c8db293f156907cb01d27 Modified Files -------------- src/backend/utils/misc/guc-file.l | 138 +++----- src/backend/utils/misc/guc.c | 625 ++++++++++++++++++------------------- 2 files changed, 352 insertions(+), 411 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-01-26 01:19 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-01-26 01:19 pgsql: Clean up assorted issues in ALTER SYSTEM coding. Tom Lane <tgl@sss.pgh.pa.us> 2015-01-26 01:19 pgsql: Clean up assorted issues in ALTER SYSTEM coding. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox