pgsql: Add sourcefile/sourceline data to EXEC_BACKEND GUC transmission

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add sourcefile/sourceline data to EXEC_BACKEND GUC transmission
Date: 2011-10-04 21:07:15
Message-ID: E1RBCCp-0002kX-7p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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).

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/99576e01a18ba3558aac20ef1715f1627ec70939

Modified Files
--------------
src/backend/utils/misc/guc.c | 36 +++++++++++++++++++++++++++---------
1 files changed, 27 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-10-04 21:08:33 pgsql: Fix uninitialized-variable bug.
Previous Message Tom Lane 2011-10-04 20:14:10 pgsql: Remember the source GucContext for each GUC parameter.