]> 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:32 +0000 (17:01 -0400)
commit5aa09d5df3422bd9795271ac707f857eb1e88ab7
treef6fd8acd0fdc5035f5250a2ceaeb34ae96508e5d
parent50af47f12bb8218625b7095da1d5678a1da8e9c2
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