From 01aa88f71208c2af143b044553b89df4438de33e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 14 Jun 2024 15:29:09 -0400 Subject: [PATCH] Fix misc_sanity test to accept SHARED_DEPENDENCY_INITACL entries. Oversight in 534287403. We missed this up to now because the core regression tests create no such entries (at least up to this test), so the only way to see the failure is to do "make installcheck" in an installation where some other DB has such entries. I happened to do that just now ... --- src/test/regress/expected/misc_sanity.out | 2 +- src/test/regress/sql/misc_sanity.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/regress/expected/misc_sanity.out b/src/test/regress/expected/misc_sanity.out index a57fd142a94..ad88cbd5c4c 100644 --- a/src/test/regress/expected/misc_sanity.out +++ b/src/test/regress/expected/misc_sanity.out @@ -26,7 +26,7 @@ SELECT * FROM pg_shdepend as d1 WHERE refclassid = 0 OR refobjid = 0 OR classid = 0 OR objid = 0 OR - deptype NOT IN ('a', 'o', 'r', 't'); + deptype NOT IN ('a', 'i', 'o', 'r', 't'); dbid | classid | objid | objsubid | refclassid | refobjid | deptype ------+---------+-------+----------+------------+----------+--------- (0 rows) diff --git a/src/test/regress/sql/misc_sanity.sql b/src/test/regress/sql/misc_sanity.sql index 2c0f87a651f..cda760bd5ef 100644 --- a/src/test/regress/sql/misc_sanity.sql +++ b/src/test/regress/sql/misc_sanity.sql @@ -30,7 +30,7 @@ SELECT * FROM pg_shdepend as d1 WHERE refclassid = 0 OR refobjid = 0 OR classid = 0 OR objid = 0 OR - deptype NOT IN ('a', 'o', 'r', 't'); + deptype NOT IN ('a', 'i', 'o', 'r', 't'); -- **************** pg_class ****************