From f1483f075592ec139cb223074858e9525193550c Mon Sep 17 00:00:00 2001 From: Thomas Sapelza Date: Thu, 10 Sep 2026 14:01:56 +0200 Subject: [PATCH] exclude the Liquibase lock table and drop a no-op psql flag --- setup-postgres-preview-schema/job-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-postgres-preview-schema/job-template.yml b/setup-postgres-preview-schema/job-template.yml index c412eab..426b5cc 100644 --- a/setup-postgres-preview-schema/job-template.yml +++ b/setup-postgres-preview-schema/job-template.yml @@ -29,6 +29,7 @@ spec: echo "Dumping base schema ${BASE_SCHEMA}..." pg_dump --schema=${BASE_SCHEMA} \ + --exclude-table-data="${BASE_SCHEMA}.databasechangeloglock" \ --no-comments \ --no-owner \ --no-acl \ @@ -48,7 +49,6 @@ spec: --echo-errors \ --single-transaction \ --set=ON_ERROR_STOP=1 \ - --set=SESSION_REPLICATION_ROLE=replica \ --file=preview-dump.sql echo "Script finished successfully!"