Skip to content

Commit ac09142

Browse files
committed
Fix erroneous error message for REINDEX SYSTEM.
Missed case in commit fe263d1. Sawada Masahiko
1 parent 9d265ae commit ac09142

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/tcop/utility.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,9 @@ standard_ProcessUtility(Node *parsetree,
753753
* intended effect!
754754
*/
755755
PreventTransactionChain(isTopLevel,
756-
(stmt->kind == REINDEX_OBJECT_SCHEMA) ?
757-
"REINDEX SCHEMA" : "REINDEX DATABASE");
756+
(stmt->kind == REINDEX_OBJECT_SCHEMA) ? "REINDEX SCHEMA" :
757+
(stmt->kind == REINDEX_OBJECT_SYSTEM) ? "REINDEX SYSTEM" :
758+
"REINDEX DATABASE");
758759
ReindexObject(stmt->name, stmt->kind);
759760
break;
760761
default:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy