Clean up after merge

pull/5911/head
Yanwen Jin 2022-06-14 16:32:34 -07:00
parent 06babdbdbe
commit f52755a0a9
1 changed files with 1 additions and 20 deletions

View File

@ -2020,7 +2020,7 @@ columnar_tableam_init()
NULL,
&EnableVersionChecksColumnar,
true,
PGC_SUSET,
PGC_USERSET,
GUC_NO_SHOW_ALL,
NULL, NULL, NULL);
}
@ -2451,25 +2451,6 @@ ColumnarProcessUtility(PlannedStmt *pstmt,
}
}
if (IsA(parsetree, AlterExtensionStmt))
{
AlterExtensionStmt *alterExtensionStmt = castNode(AlterExtensionStmt, parsetree);
if (strcmp(alterExtensionStmt->extname, "citus_columnar") == 0)
{
DefElem *newVersionValue = GetExtensionOption(alterExtensionStmt->options,
"new_version");
if (newVersionValue)
{
const char *newVersion = defGetString(newVersionValue);
if (strcmp(newVersion, "11.1-0") == 0)
{
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("unsupported citus_columnar version 11.1-0")));
}
}
}
}
PrevProcessUtilityHook_compat(pstmt, queryString, false, context,
params, queryEnv, dest, completionTag);