1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

Code cleanup for REINDEX DATABASE/SCHEMA/SYSTEM.

Fix some minor infelicities.  Some of these things were introduced in
commit fe263d115a, and some are older.
This commit is contained in:
Tom Lane
2015-03-08 12:18:43 -04:00
parent ac0914285a
commit 90c35a9ed0
3 changed files with 34 additions and 56 deletions

View File

@@ -756,7 +756,7 @@ standard_ProcessUtility(Node *parsetree,
(stmt->kind == REINDEX_OBJECT_SCHEMA) ? "REINDEX SCHEMA" :
(stmt->kind == REINDEX_OBJECT_SYSTEM) ? "REINDEX SYSTEM" :
"REINDEX DATABASE");
ReindexObject(stmt->name, stmt->kind);
ReindexMultipleTables(stmt->name, stmt->kind);
break;
default:
elog(ERROR, "unrecognized object type: %d",