Repository navigation
Conversation
PostgreSQL Package Dependency Analysis: PR #2490
SummaryNo packages had MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Dependency ChangesExtracting PostgreSQL 15 dependencies...
Runtime Closure Size
Raw Dependency ClosurePostgreSQL 17 Dependency ChangesExtracting PostgreSQL 17 dependencies...
Runtime Closure Size
Raw Dependency Closure |
PostgreSQL Extension Dependency Analysis: PR #2490
SummaryNo extensions had dependencies with MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Extension DependenciesPostgreSQL 17 Extension DependenciesOrioleDB 17 Extension Dependencies |
brainrake
left a comment
There was a problem hiding this comment.
The PG15 guard lives in four places now. Can the setting live in a PG17+ only include instead?
| @@ -0,0 +1 @@ | |||
| SELECT (SELECT setting FROM pg_settings WHERE name = 'summarize_wal') = 'on' AS summarize_wal_default_ok; | |||
There was a problem hiding this comment.
Only runs on plain 17. Add a z_orioledb-17_ variant.
| #wal_skip_threshold = 2MB | ||
|
|
||
| summarize_wal = on # run WAL summarizer for 17 and up | ||
| #wal_summary_keep_time = '10d' # when to remove old summary files; 0 = never |
There was a problem hiding this comment.
| #wal_summary_keep_time = '10d' # when to remove old summary files; 0 = never | |
| #wal_summary_keep_time = '10d' # when to remove old summary files; 0 = never | |
Nit: Restore the blank line before #commit_delay.
| echo "port = ${pgPort}" | ||
| echo "session_preload_libraries = 'supautils'" | ||
| echo "dynamic_library_path = '${supautils}/lib:\$libdir'" | ||
| ${lib.optionalString (pgpkg.version != "15") ''echo "summarize_wal = on"''} |
There was a problem hiding this comment.
| ${lib.optionalString (pgpkg.version != "15") ''echo "summarize_wal = on"''} |
This line configures the pgTAP cluster. z_17_wal_summarize runs on the pg_regress cluster, which run-server.sh.in builds from the j2 file, so it already gets the setting. No pgTAP test reads summarize_wal. Drop the line, or say here why the summarizer should run during the pgTAP step.
| - name: Disable summarize_wal on PG15 (GUC only exists from PG17) | ||
| when: psql_version == 'psql_15' | ||
| ansible.builtin.replace: | ||
| path: '/etc/postgresql/postgresql.conf' | ||
| regexp: '^summarize_wal = on' | ||
| replace: '#summarize_wal = on' | ||
|
|
There was a problem hiding this comment.
This task is skipped at stage 1 (psql_version=psql_), so the line stays active and stage 2 fails at pg_ctl start. Remove it here and do the edit in stage2-setup-postgres.yml. PG15 builds now fail.
| SELECT (SELECT setting FROM pg_settings WHERE name = 'summarize_wal') = 'on' AS summarize_wal_default_ok; | ||
| summarize_wal_default_ok | ||
| -------------------------- | ||
| t | ||
| (1 row) | ||
|
|
There was a problem hiding this comment.
Only runs on plain 17. Add a z_orioledb-17_ variant.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Package version diff: none (aarch64-linux, x86_64-linux) |
|
Found 240 test failures on Blacksmith runners: Failures
...and 230 more test failures. View all on Blacksmith
|
d06f741 to
f162251
Compare
What kind of change does this PR introduce?
Feature
What is the current behavior?
summarize_walis not enabledWhat is the new behavior?
summarize_walis on for PG17 and beyond. It does cause PG to use an additional process but its load is minimal and can help with incremental backups (natively, it is required to beon)Additional context
Resolves MPG-1274