Commit ac091428 authored by Tom Lane's avatar Tom Lane

Fix erroneous error message for REINDEX SYSTEM.

Missed case in commit fe263d11.

Sawada Masahiko
parent 9d265ae7
......@@ -753,8 +753,9 @@ standard_ProcessUtility(Node *parsetree,
* intended effect!
*/
PreventTransactionChain(isTopLevel,
(stmt->kind == REINDEX_OBJECT_SCHEMA) ?
"REINDEX SCHEMA" : "REINDEX DATABASE");
(stmt->kind == REINDEX_OBJECT_SCHEMA) ? "REINDEX SCHEMA" :
(stmt->kind == REINDEX_OBJECT_SYSTEM) ? "REINDEX SYSTEM" :
"REINDEX DATABASE");
ReindexObject(stmt->name, stmt->kind);
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment