Remove redundant client_min_messages handling from install script#26
Remove redundant client_min_messages handling from install script#26jnasbyupgrade wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
1071470 to
7686117
Compare
|
@claude please review this PR. |
|
Claude finished @jnasbyupgrade's task in 5m 2s —— View job Claude finished the review
|
7686117 to
98b58e5
Compare
CREATE EXTENSION already forces client_min_messages to at least WARNING for the install script (only raising it, so a stricter caller is respected) and restores the caller's value afterward -- it has done so since extensions were introduced in 9.1. The script's own setting was therefore redundant, and being blind it lowered a stricter caller's level during install. Drop it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
98b58e5 to
8e5a7d7
Compare
…lds Postgres-Extensions#26) Drop `SET LOCAL client_min_messages = WARNING;` from the top of the install script -- setting the message level is the caller's responsibility, not the install script's (deps.sql already does it for the main suite). The build sanity test (test/build/build.sql) is the one path that \i's the install script directly instead of going through deps.sql, so move the suppression there; without it build.out would capture verbose, version-specific NOTICEs (e.g. "%TYPE converted to regclass" with a source-file LOCATION line) and break across the PG matrix. build.out is unchanged. Folds in the change from PR Postgres-Extensions#26 (fix/client-min-messages) so it does not need its own PR. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Folding the install-script change (removing the redundant |
eb84bc6 Stamp 2.1.0 9fbe6f4 Fix results ordering, control file whitespace, ENABLE_* override, debug levels (Postgres-Extensions#31) 88bb4f2 Add Claude Code GitHub Actions workflows (#41) af5bbbb ci: pass repo owners to run-tests.yml for fork-account matching (#40) c7928af Fix repo-root guard to work inside a git worktree (#39) b062fca ci: point reusable test workflow at @master b6cdbfd Add CI workflows and multi-session PR guard (Postgres-Extensions#33) 1ba0987 Stamp 2.0.3 1931cbe Fix pgxntool-sync remote and make it runnable without make (Postgres-Extensions#37) 8176304 Stamp 2.0.2 3e142ab Fix parse_control_file: remove comments before stripping quotes (Postgres-Extensions#27) cacc301 Stamp 2.0.1 bf1db6b Fix bash 3.2 / Linux compatibility issues (Postgres-Extensions#26) 62d0fcb Fix broken ifeq for --load-language=plpgsql on PG < 13 (Postgres-Extensions#24) 121f0b3 Stamp 2.0.0 ad3ca7e Remove .source support; add test/install, test/build, and verify-results (Postgres-Extensions#18) c010cf8 Fix bash 3.2 compatibility (Postgres-Extensions#23) abeb9d3 Remove .source file support from pg_regress integration (Postgres-Extensions#22) 08c1879 Stamp 1.1.2 6e0dad2 Fix double --dbname bug that defeated unique test database names 639756c Stamp 1.1.1 6ba3176 Fix pg_tle exception handler and empty upgrade files (Postgres-Extensions#15) 3b8cb2a Stamp 1.1.0 550a901 Remove commit.md (maintained in pgxntool-test) d73ca93 Add unique test database names to prevent conflicts (Postgres-Extensions#13) 9b344be Add update-setup-files.sh for 3-way merging after pgxntool-sync (#12) ab7f6e2 Stamp 1.0.0 3a571ba Add pg_tle support and modernize test infrastructure (#11) b96ea6d Add support for Claude code; build and doc improvements (#9) e9c24de Fix pg_regress on versions > 12 (#5) git-subtree-dir: pgxntool git-subtree-split: eb84bc6e87e21f2ced11ff1b8ddb4028b7c67c8f

CREATE EXTENSION already raises client_min_messages to WARNING for the install script (only-raising, so a stricter caller is respected) and restores it afterward — so the script's own setting was redundant, and being blind it actually lowered a stricter caller's level during install. Remove it.