Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ select pg_ctl(datadir, 'promote') from gp_segment_configuration where content =

-- end_ignore
(exited with code 0)

-- wait some seconds until the promotion is done.
!\retcode sleep 2;
-- start_ignore

-- end_ignore
(exited with code 0)

-- "-1S" means connect to standby's port assuming it's accepting
-- connections. This select should succeed because the create table
-- transaction's commit prepared broadcast must have been sent by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ select pg_ctl(datadir, 'promote') from gp_segment_configuration
where content = -1 and role = 'm';

!\retcode gpfts -A -D;

-- wait some seconds until the promotion is done.
!\retcode sleep 2;

-- "-1S" means connect to standby's port assuming it's accepting
-- connections. This select should succeed because the create table
-- transaction's commit prepared broadcast must have been sent by
Expand Down Expand Up @@ -116,4 +120,4 @@ select wait_until_standby_in_state('streaming');

-- start_ignore
reset statement_timeout;
-- end_ignore
-- end_ignore
4 changes: 4 additions & 0 deletions src/test/regress/expected/window.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
-- TODO: incremental sort is turned off by default, because it may have
-- wrong result for some core case. Turn it on to run the existing tests
-- and minimize the difference from upstream.
-- start_matchignore
-- m/INFO: GPORCA failed to produce a plan, falling back to Postgres-based planner/
-- m/DETAIL: Falling back to Postgres-based planner because GPORCA does not support the following feature: Non-default collation/
-- end_matchignore
set enable_incremental_sort=on;
--
-- WINDOW FUNCTIONS
Expand Down
4 changes: 4 additions & 0 deletions src/test/regress/expected/window_optimizer.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
-- TODO: incremental sort is turned off by default, because it may have
-- wrong result for some core case. Turn it on to run the existing tests
-- and minimize the difference from upstream.
-- start_matchignore
-- m/INFO: GPORCA failed to produce a plan, falling back to Postgres-based planner/
-- m/DETAIL: Falling back to Postgres-based planner because GPORCA does not support the following feature: Non-default collation/
-- end_matchignore
set enable_incremental_sort=on;
--
-- WINDOW FUNCTIONS
Expand Down
4 changes: 4 additions & 0 deletions src/test/regress/sql/window.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
-- TODO: incremental sort is turned off by default, because it may have
-- wrong result for some core case. Turn it on to run the existing tests
-- and minimize the difference from upstream.
-- start_matchignore
-- m/INFO: GPORCA failed to produce a plan, falling back to Postgres-based planner/
-- m/DETAIL: Falling back to Postgres-based planner because GPORCA does not support the following feature: Non-default collation/
-- end_matchignore
set enable_incremental_sort=on;

--
Expand Down
Loading