mirror of https://github.com/citusdata/citus.git
Compile in PG10
parent
e8660646e0
commit
823c561ea9
|
@ -38,14 +38,22 @@ PreprocessGrantStmt(Node *node, const char *queryString)
|
||||||
{
|
{
|
||||||
switch (grantStmt->objtype)
|
switch (grantStmt->objtype)
|
||||||
{
|
{
|
||||||
|
#if (PG_VERSION_NUM >= 110000)
|
||||||
case OBJECT_SCHEMA:
|
case OBJECT_SCHEMA:
|
||||||
case OBJECT_DATABASE:
|
case OBJECT_DATABASE:
|
||||||
|
#else
|
||||||
|
case ACL_OBJECT_DATABASE:
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
showPropagationWarning = true;
|
showPropagationWarning = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (PG_VERSION_NUM >= 110000)
|
||||||
case OBJECT_TABLE:
|
case OBJECT_TABLE:
|
||||||
|
#else
|
||||||
|
case ACL_OBJECT_RELATION:
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
ListCell *rangeVarCell = NULL;
|
ListCell *rangeVarCell = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue