SET search_path TO documentdb_api_catalog, documentdb_api, documentdb_core, public;
SET citus.next_shard_id TO 11800000;
SET documentdb.next_collection_id TO 11800;
SET documentdb.next_collection_index_id TO 11800;

SET citus.multi_shard_modify_mode TO 'sequential';

-- Route unsharded-collection cursor queries through the remote unsharded code
-- path: disabling local-execution shard queries marks the single shard as
-- remote, and dynamic cursors must be enabled for the remote dispatch.
SET documentdb.enableDynamicCursors TO on;
SET documentdb.useLocalExecutionShardQueries TO off;

-- The remote dynamic cursor's worker continuation embeds a per-run unique cursor
-- id / file name (masked via normalize.sed). Use unaligned output so psql column
-- widths do not depend on the (pre-masking) length of those volatile values.
\a

\i sql/bson_aggregation_cursor_tests_core.sql
