Skip to content
Open
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
10 changes: 8 additions & 2 deletions contrib/interconnect/sql/interconnect.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
-- start_ignore
\! gpconfig -c shared_preload_libraries -v "interconnect"
\! gpstop -raiq
-- Restart in fast mode, not immediate: an immediate shutdown skips the
-- shutdown checkpoint, so the next startup runs crash recovery, and while the
-- postmaster is in PM_RECOVERY it rejects the connection gpstart makes to read
-- the segment configuration ("the database system is not accepting
-- connections"). gpstop -r then fails, psql gives up at the \c below, and the
-- whole file is skipped with only the coordinator left running.
\! gpstop -rafq
\c
DROP TABLE IF EXISTS test_ic_data;
CREATE EXTENSION IF NOT EXISTS interconnect;
Expand Down Expand Up @@ -83,5 +89,5 @@ DROP EXTENSION interconnect;

-- start_ignore
\! gpconfig -r shared_preload_libraries
\! gpstop -raiq
\! gpstop -rafq
-- end_ignore
Loading