We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4fbbed commit 25c0de5Copy full SHA for 25c0de5
pkg/migration/scripts/dump_schema.sh
@@ -21,6 +21,7 @@ export PGDATABASE="$PGDATABASE"
21
# - do not include event triggers
22
# - do not create pgtle schema and extension comments
23
# - do not create publication "supabase_realtime"
24
+# - do not set transaction_timeout which requires pg17
25
pg_dump \
26
--schema-only \
27
--quote-all-identifier \
@@ -47,6 +48,7 @@ pg_dump \
47
48
| sed -E 's/^COMMENT ON EXTENSION (.+)/-- &/' \
49
| sed -E 's/^CREATE POLICY "cron_job_/-- &/' \
50
| sed -E 's/^ALTER TABLE "cron"/-- &/' \
51
+| sed -E 's/^SET transaction_timeout = 0;/-- &/' \
52
| sed -E "${EXTRA_SED:-}"
53
54
# Reset session config generated by pg_dump
0 commit comments