0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 04:48:33 +08:00
discourse/spec/fixtures
Jake Goldsborough 7c03546b89 FIX: Strip SET transaction_timeout when restoring backups
pg_dump 17 and later adds SET transaction_timeout = 0 to dumps, but
the parameter only exists on PostgreSQL 17+ servers. Restoring such a
dump on PostgreSQL 16 or older fails with:

  psql failed: ERROR: unrecognized configuration parameter "transaction_timeout"

This is easy to hit because postgres client tools are commonly newer
than the server they talk to (the discourse_docker base image ships
the latest client alongside the default version, and pg_dump resolves
to the newest one installed), so backups can quietly become
un-restorable on the server that created them.

Strip the line during restore like the other version-specific SQL in
the unwanted_sql list.
2026-07-16 00:02:53 +00:00
..
backups
csv FIX: Allowlist CSV columns in bulk invite upload (#38231) 2026-03-09 16:06:09 +08:00
db FIX: Strip SET transaction_timeout when restoring backups 2026-07-16 00:02:53 +00:00
emails FIX: email to a category should not require enabling reply-by-email (#37227) 2026-02-03 13:01:16 -05:00
encodings
feed
i18n
images DEV: Remove reviewable_ui_refresh feature flag and legacy code (#36752) 2026-02-23 10:45:36 +08:00
json DEV: Drop .dcstyle.json theme import support (#38857) 2026-03-25 11:36:18 +00:00
md DEV: Update markdown-it from 14.0.0 to 14.1.1 (#38869) 2026-03-25 15:19:15 +01:00
media DEV: uses local playwright chromium for now (#32613) 2025-05-07 10:17:25 +02:00
mmdb
multisite
onebox FIX: Better handling of github_folder onebox w/o opengraph tags (#39142) 2026-04-08 11:49:57 +02:00
pdf
plugins DEV: Allow plugins to register admin-panel-specific CSS (#40345) 2026-05-28 11:03:38 +01:00
scss
site_settings DEV: Remove deprecated trust level access settings (#36414) 2025-12-11 11:09:29 +10:00
svg FIX: Allow attachments to be opened in a new tab instead of downloading them (#30535) 2025-01-07 10:32:32 +08:00
theme_locales/objects_settings FIX: support nested descriptions in object settings (#37538) 2026-02-05 14:01:58 -05:00
theme_settings
themes DEV: Add Block API for declarative, validated UI extension points (#36810) 2026-02-25 17:36:43 -03:00
woff2