checks: simplify, match prod - #2471
Conversation
PostgreSQL Extension Dependency Analysis: PR #2471
SummaryNo extensions had dependencies with MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Extension DependenciesPostgreSQL 17 Extension DependenciesOrioleDB 17 Extension Dependencies |
PostgreSQL Package Dependency Analysis: PR #2471
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 |
mmlb
left a comment
There was a problem hiding this comment.
commit message isn't super great would have preferred just the why and not so much the how.
| echo "session_preload_libraries = 'supautils'" | ||
| echo "dynamic_library_path = '${supautils}/lib:\$libdir'" |
There was a problem hiding this comment.
Everything looks great except for this bit which seems like it snuck in? There's no mention of this in the commit message.
There was a problem hiding this comment.
First line is to match production more closely. Prod uses session_preload_libraries for supautils, while this test used shared_preload_libraries.
Second line is needed because supautils is also removed from WANTED_EXTS (to not end up in shared_preload_libraries) so it is not in $libdir.
There was a problem hiding this comment.
It was mentioned in the PR description. Sorry about the commit slop, forgot to review that. Fixed.
There was a problem hiding this comment.
ah, my eyes definitely crossed when looking at the old description :D
…ectly supautils now loads via session_preload_libraries to match production. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
680b1ec to
f57e7c9
Compare
mmlb
left a comment
There was a problem hiding this comment.
lgtm nice simplification and making things look like prod is the way to be!
legacyPkgVersion, reusepgpkg.versionsession_preload_librariesinstead ofshared_preload_libraries)