From 7bb84efc012127abc6d93db27338008e2f0bd231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Mon, 11 Dec 2023 20:55:40 +0000 Subject: [PATCH] flow ci: setup catalog --- .github/workflows/flow.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index 6d965122a3..669083344e 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -87,6 +87,9 @@ jobs: -c "ALTER SYSTEM SET max_replication_slots=192;" -c "ALTER SYSTEM SET max_wal_senders=256;" -c "ALTER SYSTEM SET max_connections=2048;" && + for v in `seq 1 "$(echo ../nexus/catalog/migrations/* | wc -w)"`; + do cat ../nexus/catalog/migrations/V$v__* | docker exec --tty pg_cdc psql -h localhost -p 5432 -U postgres; + done && docker restart pg_cdc working-directory: ./flow env: