diff --git a/src/backend/distributed/commands/multi_copy.c b/src/backend/distributed/commands/multi_copy.c index 19df51152..650763739 100644 --- a/src/backend/distributed/commands/multi_copy.c +++ b/src/backend/distributed/commands/multi_copy.c @@ -93,7 +93,9 @@ #include "distributed/hash_helpers.h" #include "executor/executor.h" #include "foreign/foreign.h" +#if PG_VERSION_NUM >= PG_VERSION_13 #include "tcop/cmdtag.h" +#endif #include "libpq/libpq.h" #include "libpq/pqformat.h" #include "nodes/makefuncs.h" diff --git a/src/test/regress/sql/multi_mx_create_table.sql b/src/test/regress/sql/multi_mx_create_table.sql index cb5316f91..67ceab032 100644 --- a/src/test/regress/sql/multi_mx_create_table.sql +++ b/src/test/regress/sql/multi_mx_create_table.sql @@ -261,10 +261,9 @@ CREATE TABLE lineitem_mx ( l_shipmode char(10) not null, l_comment varchar(44) not null, PRIMARY KEY(l_orderkey, l_linenumber) ); +SET citus.shard_count TO 16; SELECT create_distributed_table('lineitem_mx', 'l_orderkey'); --- SET citus.shard_count TO 16; - CREATE INDEX lineitem_mx_time_index ON lineitem_mx (l_shipdate); CREATE TABLE orders_mx (