mirror of https://github.com/citusdata/citus.git
skip backend initializations during ALTER EXTENSION
parent
6d230be55d
commit
f7869f57b5
|
@ -157,6 +157,14 @@ multi_ProcessUtility(PlannedStmt *pstmt,
|
|||
|
||||
Node *parsetree = pstmt->utilityStmt;
|
||||
|
||||
if (parsetree && (nodeTag(parsetree) == T_AlterExtensionStmt))
|
||||
{
|
||||
/* Skip unnecessary backend initializations during ALTER EXTENSION */
|
||||
PrevProcessUtility(pstmt, queryString, false, context,
|
||||
params, queryEnv, dest, completionTag);
|
||||
return;
|
||||
}
|
||||
|
||||
if (IsA(parsetree, TransactionStmt))
|
||||
{
|
||||
TransactionStmt *transactionStmt = (TransactionStmt *) parsetree;
|
||||
|
|
Loading…
Reference in New Issue