Обсуждение: pgsql: Use pg_dump's --quote-all-identifiers option in pg_upgrade.

Поиск
Список
Период
Сортировка

pgsql: Use pg_dump's --quote-all-identifiers option in pg_upgrade.

От
Tom Lane
Дата:
Use pg_dump's --quote-all-identifiers option in pg_upgrade.

This helps guard against changes in the set of reserved keywords from
one version to another.  In theory it should only be an issue if we
de-reserve a keyword in a newer release, since that can create the type
of problem shown in bug #8128.

Back-patch to 9.1 where the --quote-all-identifiers option was added.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1c36700e9e3cfb96fde636def87cafb57299f4da

Modified Files
--------------
contrib/pg_upgrade/dump.c |   20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)