Remove redundant client_min_messages handling from install script#3
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 |
adeb772 to
c84c614
Compare
|
@claude please review this PR. |
|
Claude finished @jnasbyupgrade's task in 5m 54s —— View job Review of PR #3 — Don't clobber caller's client_min_messages on install
SummaryThe change replaces the old "capture into a temp table, restore only on success" approach with a Findings
Nothing else stood out; the NULL-safe fallback behavior when a level isn't in |
c84c614 to
b36ed6c
Compare
Also removes the old save/restore of the value into a temp table. 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>
b36ed6c to
63c9b5a
Compare
224e89d
into
Postgres-Extensions:master
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. (Also drops the old save/restore into a temp table.)
Closes #2