aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-06-14 15:29:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-06-14 15:29:09 -0400
commit01aa88f71208c2af143b044553b89df4438de33e (patch)
treec76014c4930d41f8cebd5973f7189cb46965296f
parentf1affb67055c9b3f31a7ee7eb521a9ba64fff488 (diff)
downloadpostgresql-01aa88f71208c2af143b044553b89df4438de33e.tar.gz
postgresql-01aa88f71208c2af143b044553b89df4438de33e.zip
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 ...
-rw-r--r--src/test/regress/expected/misc_sanity.out2
-rw-r--r--src/test/regress/sql/misc_sanity.sql2
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 ****************