blob: 965a0468143fdb8d8c024c18e8f59b2b74023336 [file]
-- This test case is used to test if we can get the correct
-- numsegments when the connection is in utility mode.
-- With introducing the numsegments in gp_distribution_policy
-- pg_upgrade can not run correctly because it is run in
-- utility mode and the numsegments can not get correctly in
-- utility mode, now we support to get the numsegments in
-- utility mode when the connection is running for pg_upgrade.
-- We can sure that CREATE TABLE command will try to get
-- numsegments in utility mode, so we use it to test the
-- function.
-1U: create temp table t1(c1 int, c2 int);
CREATE
0U: create temp table t1(c1 int, c2 int);
CREATE
1U: create temp table t1(c1 int, c2 int);
CREATE
2U: create temp table t1(c1 int, c2 int);
CREATE
-- start_ignore
-1Uq: ... <quitting>
0Uq: ... <quitting>
1Uq: ... <quitting>
2Uq: ... <quitting>
-- end_ignore