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 ...
pull/163/head
Tom Lane 2 years ago
parent f1affb6705
commit 01aa88f712
  1. 2
      src/test/regress/expected/misc_sanity.out
  2. 2
      src/test/regress/sql/misc_sanity.sql

@ -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)

@ -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 ****************

Loading…
Cancel
Save