mirror of https://github.com/citusdata/citus.git
makeStringConst defined in PG17
Relevant PG commit:
de3600452b61d1bc3967e9e37e86db8956c8f577
de3600452b
pull/7699/head
parent
ad8eaf7b04
commit
b81c8c8569
|
@ -71,7 +71,9 @@ static char * GetRoleNameFromDbRoleSetting(HeapTuple tuple,
|
|||
TupleDesc DbRoleSettingDescription);
|
||||
static char * GetDatabaseNameFromDbRoleSetting(HeapTuple tuple,
|
||||
TupleDesc DbRoleSettingDescription);
|
||||
#if PG_VERSION_NUM < PG_VERSION_17
|
||||
static Node * makeStringConst(char *str, int location);
|
||||
#endif
|
||||
static Node * makeIntConst(int val, int location);
|
||||
static Node * makeFloatConst(char *str, int location);
|
||||
static const char * WrapQueryInAlterRoleIfExistsCall(const char *query, RoleSpec *role);
|
||||
|
@ -949,6 +951,8 @@ PreprocessCreateRoleStmt(Node *node, const char *queryString,
|
|||
}
|
||||
|
||||
|
||||
#if PG_VERSION_NUM < PG_VERSION_17
|
||||
|
||||
/*
|
||||
* makeStringConst creates a Const Node that stores a given string
|
||||
*
|
||||
|
@ -972,6 +976,9 @@ makeStringConst(char *str, int location)
|
|||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* makeIntConst creates a Const Node that stores a given integer
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue