From 3b9ec4682c2f1baeeeba10b6d782386656a98f4a Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 10 Sep 2008 18:09:20 +0000 Subject: Add "source file" and "source line" information to each GUC variable. initdb forced due to changes in the pg_settings view. Magnus Hagander and Alvaro Herrera. --- src/include/utils/guc_tables.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/utils/guc_tables.h') diff --git a/src/include/utils/guc_tables.h b/src/include/utils/guc_tables.h index 9e52adfcc8..436b003286 100644 --- a/src/include/utils/guc_tables.h +++ b/src/include/utils/guc_tables.h @@ -7,7 +7,7 @@ * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/utils/guc_tables.h,v 1.41 2008/03/17 17:45:09 mha Exp $ + * $PostgreSQL: pgsql/src/include/utils/guc_tables.h,v 1.42 2008/09/10 18:09:20 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -126,6 +126,8 @@ struct config_generic GucSource reset_source; /* source of the reset_value */ GucSource source; /* source of the current actual value */ GucStack *stack; /* stacked prior values */ + char *sourcefile; /* file this settings is from (NULL if not file) */ + int sourceline; /* line in source file */ }; /* bit values in flags field */ -- cgit v1.2.1