mirror of https://github.com/citusdata/citus.git
Handle CreateSchemaCommand changes
Now expects a statement location and length, though passing -1 for both preserves existing behavior.pull/1439/head
parent
3ca189ce08
commit
c0e2a25d92
|
@ -295,7 +295,12 @@ CreateJobSchema(StringInfo schemaName)
|
||||||
createSchemaStmt->schemaElts = NIL;
|
createSchemaStmt->schemaElts = NIL;
|
||||||
|
|
||||||
/* actually create schema with the current user as owner */
|
/* actually create schema with the current user as owner */
|
||||||
|
#if (PG_VERSION_NUM >= 100000)
|
||||||
|
CreateSchemaCommand(createSchemaStmt, queryString, -1, -1);
|
||||||
|
#else
|
||||||
CreateSchemaCommand(createSchemaStmt, queryString);
|
CreateSchemaCommand(createSchemaStmt, queryString);
|
||||||
|
#endif
|
||||||
|
|
||||||
CommandCounterIncrement();
|
CommandCounterIncrement();
|
||||||
|
|
||||||
/* and reset environment */
|
/* and reset environment */
|
||||||
|
|
Loading…
Reference in New Issue