From: Tom Lane Date: Fri, 14 Jun 2024 19:29:09 +0000 (-0400) Subject: Fix misc_sanity test to accept SHARED_DEPENDENCY_INITACL entries. X-Git-Tag: REL_17_BETA2~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=01aa88f71208c2af143b044553b89df4438de33e;p=thirdparty%2Fpostgresql.git 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 ... --- 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 ****************