Remove PG10 support

warn_grant
Philip Dubé 2020-01-17 23:01:16 +00:00
parent f2f7e47e98
commit 0c5039d4e3
1 changed files with 16 additions and 25 deletions

View File

@ -38,23 +38,14 @@ PreprocessGrantStmt(Node *node, const char *queryString)
{
switch (grantStmt->objtype)
{
#if (PG_VERSION_NUM >= 110000)
case OBJECT_SCHEMA:
case OBJECT_DATABASE:
#else
case ACL_OBJECT_NAMESPACE:
case ACL_OBJECT_DATABASE:
#endif
{
showPropagationWarning = true;
break;
}
#if (PG_VERSION_NUM >= 110000)
case OBJECT_TABLE:
#else
case ACL_OBJECT_RELATION:
#endif
{
ListCell *rangeVarCell = NULL;