From 6a3ce4c8f37329e03631480f6921c6e6528e3113 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Sun, 12 Jul 2026 17:31:24 -0500 Subject: [PATCH] Remove redundant client_min_messages handling from install (#4) 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) --- sql/object_reference.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/sql/object_reference.sql b/sql/object_reference.sql index 44dc1c6..e83b461 100644 --- a/sql/object_reference.sql +++ b/sql/object_reference.sql @@ -1,4 +1,3 @@ -SET LOCAL client_min_messages = WARNING; \echo This extension must be loaded via 'CREATE EXTENSION object_reference;' \echo You really, REALLY do NOT want to try and load this via psql!!! \echo It will FAIL during pg_dump! \quit