mirror of https://github.com/citusdata/citus.git
Some cleanup from dropping pg14
parent
08913e27d7
commit
caceb35eba
|
@ -186,15 +186,6 @@ BuildCreatePublicationStmt(Oid publicationId)
|
||||||
BuildPublicationRelationObjSpec(relationId, publicationId, tableOnly);
|
BuildPublicationRelationObjSpec(relationId, publicationId, tableOnly);
|
||||||
|
|
||||||
createPubStmt->pubobjects = lappend(createPubStmt->pubobjects, publicationObject);
|
createPubStmt->pubobjects = lappend(createPubStmt->pubobjects, publicationObject);
|
||||||
#else
|
|
||||||
|
|
||||||
/* before postgres 15, only full tables are supported */
|
|
||||||
char *schemaName = get_namespace_name(get_rel_namespace(relationId));
|
|
||||||
char *tableName = get_rel_name(relationId);
|
|
||||||
RangeVar *rangeVar = makeRangeVar(schemaName, tableName, -1);
|
|
||||||
|
|
||||||
createPubStmt->tables = lappend(createPubStmt->tables, rangeVar);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* WITH (publish_via_partition_root = true) option */
|
/* WITH (publish_via_partition_root = true) option */
|
||||||
|
|
|
@ -227,8 +227,6 @@ DeparseAlterDatabaseRefreshCollStmt(Node *node)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
AppendAlterDatabaseSetStmt(StringInfo buf, AlterDatabaseSetStmt *stmt)
|
AppendAlterDatabaseSetStmt(StringInfo buf, AlterDatabaseSetStmt *stmt)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue