Add options to force quoting of all identifiers.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +18 −1 |
| doc/src/sgml/ref/pg_dumpall.sgml | modified | +12 −1 |
| doc/src/sgml/ref/pg_dump.sgml | modified | +12 −1 |
| src/backend/utils/adt/ruleutils.c | modified | +5 −1 |
| src/backend/utils/misc/guc.c | modified | +10 −1 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +1 −0 |
| src/bin/pg_dump/dumputils.c | modified | +6 −2 |
| src/bin/pg_dump/dumputils.h | modified | +3 −1 |
| src/bin/pg_dump/pg_dumpall.c | modified | +8 −1 |
| src/bin/pg_dump/pg_dump.c | modified | +8 −1 |
| src/include/utils/builtins.h | modified | +2 −1 |