aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/guc_tables.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-09-10 18:09:20 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-09-10 18:09:20 +0000
commit3b9ec4682c2f1baeeeba10b6d782386656a98f4a (patch)
tree23c9dc2306aea80cbd7bf8f45232ddeb4ac6e527 /src/include/utils/guc_tables.h
parentbacf7b2086d971e8b3f65eea00b5550db6fa9614 (diff)
downloadpostgresql-3b9ec4682c2f1baeeeba10b6d782386656a98f4a.tar.gz
postgresql-3b9ec4682c2f1baeeeba10b6d782386656a98f4a.zip
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.
Diffstat (limited to 'src/include/utils/guc_tables.h')
-rw-r--r--src/include/utils/guc_tables.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/utils/guc_tables.h b/src/include/utils/guc_tables.h
index 9e52adfcc8b..436b003286c 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 */