diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-07-22 01:22:35 +0000 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-07-22 01:22:35 +0000 |
commit | ce68df468a41d8dbb992184aad490c07d02ca721 (patch) | |
tree | 4ec28090880de2036493b915c7fb8c0fdb31ba2a /src/include/utils/builtins.h | |
parent | b8c6c71d1c513391975fc107a95f104aeeac3117 (diff) | |
download | postgresql-ce68df468a41d8dbb992184aad490c07d02ca721.tar.gz postgresql-ce68df468a41d8dbb992184aad490c07d02ca721.zip |
Add options to force quoting of all identifiers.
I've added a quote_all_identifiers GUC which affects the behavior
of the backend, and a --quote-all-identifiers argument to pg_dump
and pg_dumpall which sets the GUC and also affects the quoting done
internally by those applications.
Design by Tom Lane; review by Alex Hunsaker; in response to bug #5488
filed by Hartmut Goebel.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 9f0586855c7..92b3c64aaad 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.351 2010/07/13 20:57:19 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.352 2010/07/22 01:22:35 rhaas Exp $ * *------------------------------------------------------------------------- */ @@ -583,6 +583,7 @@ extern Datum record_ge(PG_FUNCTION_ARGS); extern Datum btrecordcmp(PG_FUNCTION_ARGS); /* ruleutils.c */ +extern bool quote_all_identifiers; extern Datum pg_get_ruledef(PG_FUNCTION_ARGS); extern Datum pg_get_ruledef_ext(PG_FUNCTION_ARGS); extern Datum pg_get_viewdef(PG_FUNCTION_ARGS); |