]> granicus.if.org Git - postgresql/commit
Add sourcefile/sourceline data to EXEC_BACKEND GUC transmission files.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Oct 2011 21:00:17 +0000 (17:00 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Oct 2011 21:01:06 +0000 (17:01 -0400)
commitddc36df7af954f36648c675922b96e73897c7b27
tree075cc57b5b96e8e09e5477563a8bf0da76edc736
parentf994bf965d369124ab18d8504668db2787173fb9
Add sourcefile/sourceline data to EXEC_BACKEND GUC transmission files.

This oversight meant that on Windows, the pg_settings view would not
display source file or line number information for values coming from
postgresql.conf, unless the backend had received a SIGHUP since starting.

In passing, also make the error detection in read_nondefault_variables a
tad more thorough, and fix it to not lose precision on float GUCs (these
changes are already in HEAD as of my previous commit).
src/backend/utils/misc/guc.c