1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Remove double-quoting of table names in clusterdb. BACKWARD COMPABILITY

BREAKAGE.

Remove double-quoting of index/table names in reindexdb.  BACKWARD
COMPABILITY BREAKAGE.

Document thate user/database names are preserved with double-quoting by
command-line tools like vacuumdb.
This commit is contained in:
Bruce Momjian
2011-09-10 16:39:02 -04:00
parent 52ce20589a
commit d68ccf536e
8 changed files with 21 additions and 6 deletions

View File

@ -177,7 +177,7 @@ cluster_one_database(const char *dbname, bool verbose, const char *table,
if (verbose)
appendPQExpBuffer(&sql, " VERBOSE");
if (table)
appendPQExpBuffer(&sql, " %s", fmtId(table));
appendPQExpBuffer(&sql, " %s", table);
appendPQExpBuffer(&sql, ";\n");
conn = connectDatabase(dbname, host, port, username, prompt_password, progname);