OSDN Git Service

Add options to force quoting of all identifiers.
authorRobert Haas <rhaas@postgresql.org>
Thu, 22 Jul 2010 01:22:35 +0000 (01:22 +0000)
committerRobert Haas <rhaas@postgresql.org>
Thu, 22 Jul 2010 01:22:35 +0000 (01:22 +0000)
commitce68df468a41d8dbb992184aad490c07d02ca721
tree4ec28090880de2036493b915c7fb8c0fdb31ba2a
parentb8c6c71d1c513391975fc107a95f104aeeac3117
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.
doc/src/sgml/config.sgml
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml
src/backend/utils/adt/ruleutils.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/bin/pg_dump/dumputils.c
src/bin/pg_dump/dumputils.h
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/include/utils/builtins.h