From 55459d55ab4a5b27dc40e6dde66079cd2bd796c6 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Wed, 12 Aug 2026 16:27:52 -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 b40aaf70 -> e4fab69e. --- .vendor/linter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vendor/linter b/.vendor/linter index b40aaf7..e4fab69 160000 --- a/.vendor/linter +++ b/.vendor/linter @@ -1 +1 @@ -Subproject commit b40aaf70be8af80f048da777e551c5b790bd9e69 +Subproject commit e4fab69e7f6256682f5b6b80e7a8f2423a0c39a9 From c08b233a930822b274d4f0a55e1b87c457b20fe6 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Wed, 12 Aug 2026 16:37:51 -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. --- test/core/functions.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/core/functions.sql b/test/core/functions.sql index 4d06ffc..c5cd932 100644 --- a/test/core/functions.sql +++ b/test/core/functions.sql @@ -233,8 +233,10 @@ BEGIN , 'Test null_count(a, b, c)' ); - -- Test JSON versions - -- These could be combined... + /* + * Test JSON versions + * These could be combined... + */ RETURN NEXT bag_eq( format($$SELECT a, b, c, %1$I.null_count( row_to_json( row(a, b, c) ) ), %1$I.not_null_count( row_to_json( row(a, b, c) ) ) FROM test_data$$, ncs()) , $$SELECT *, 3-null_count AS not_null_count FROM test_data$$