From 901d39a045f910cffb96e7a6fe739882e98b8b4f Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Thu, 3 Apr 2025 13:50:42 +0200 Subject: [PATCH] change fetch size --- ci/postgres-initial-setup.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/postgres-initial-setup.sql b/ci/postgres-initial-setup.sql index dc3928c..e0c28ff 100644 --- a/ci/postgres-initial-setup.sql +++ b/ci/postgres-initial-setup.sql @@ -7,6 +7,8 @@ CREATE SERVER dwh_prd FOREIGN DATA WRAPPER postgres_fdw OPTIONS (host '$PRD_HOST', dbname '$PRD_DB', port '$PRD_PORT'); +ALTER SERVER dwh_prd OPTIONS (fetch_size '100000'); + CREATE USER MAPPING FOR current_user SERVER dwh_prd OPTIONS (user '$PRD_CI_USER', password '$PRD_CI_PASSWORD');