]> 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:00:17 +0000 (17:00 -0400)
commit99576e01a18ba3558aac20ef1715f1627ec70939
treef836c21ac9104cb06efb6994b80e0c08032e67e2
parentb733331d0fe0ecb36aa629f187876734da25ea80
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