From bfa3838c8f8d8b3c8037f81067dfcc06503dfcc1 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Wed, 12 Aug 2026 16:27:54 -0500 Subject: [PATCH 1/2] Bump .vendor/linter to pick up tightened comment-stacked-dashes rule Postgres-Extensions/linter#9 tightens comment-stacked-dashes to flag 2+ consecutive -- lines (previously 3+). Bumps b8632c2a -> e4fab69e. --- .vendor/linter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vendor/linter b/.vendor/linter index b8632c2..e4fab69 160000 --- a/.vendor/linter +++ b/.vendor/linter @@ -1 +1 @@ -Subproject commit b8632c2a3d93de664a45f4622235871e8f19cf78 +Subproject commit e4fab69e7f6256682f5b6b80e7a8f2423a0c39a9 From ab48345923e82ddf4db49151664d68d929d601d1 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Wed, 12 Aug 2026 16:37:52 -0500 Subject: [PATCH 2/2] Convert 2-line -- comments to /* */ blocks for comment-stacked-dashes The bumped linter now flags 2+ consecutive -- lines (previously 3+). Rewriting the existing offenders as /* */ blocks is a pure formatting change; disable-block directives keep working since suppression is matched against raw line text regardless of comment state. --- sql/cat_tools.sql.in | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sql/cat_tools.sql.in b/sql/cat_tools.sql.in index 339ff00..7eaa88a 100644 --- a/sql/cat_tools.sql.in +++ b/sql/cat_tools.sql.in @@ -775,8 +775,10 @@ CREATE TYPE cat_tools.object_type AS ENUM( , 'materialized view column' , 'composite type column' , 'foreign table column' - -- pg_constraint - -- NOTE: a domain itself is considered to be a type + /* + * pg_constraint + * NOTE: a domain itself is considered to be a type + */ , 'domain constraint', 'table constraint' -- pg_proc , 'aggregate', 'function' @@ -1281,8 +1283,10 @@ $$ @generated@ --- Borrowed from newsysviews: http://pgfoundry.org/projects/newsysviews/ --- sql-lint:disable-block all: copied verbatim from newsysviews, do not reformat +/* + * Borrowed from newsysviews: http://pgfoundry.org/projects/newsysviews/ + * sql-lint:disable-block all: copied verbatim from newsysviews, do not reformat + */ CREATE OR REPLACE VIEW cat_tools.pg_all_foreign_keys AS SELECT n1.nspname AS fk_schema_name,