Fix over-aggressive sanity check in misc_sanity.sql.
Tom Lane <tgl@sss.pgh.pa.us>
Fix over-aggressive sanity check in misc_sanity.sql. Fix thinko in commit 8be8510cf: it's okay to have dbid == 0 in normal (non-pin) entries in pg_shdepend, because global objects such as databases are entered that way. The test would pass so long as it was run in a cluster containing no databases/tablespaces owned by, or granted to, roles other than the bootstrap superuser. That's the expected situation for "make check", but for "make installcheck", not so much. Reported by Ryan Murphy. Discussion: https://postgr.es/m/CAHeEsBc6EQe0mxGBKDXAwJbntgfvoAd5MQC-5362SmC3Tng_6g@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/misc_sanity.out | modified | +1 −1 |
| src/test/regress/sql/misc_sanity.sql | modified | +1 −1 |
Discussion
- 1 test fails in make installcheck-world - database "regress_ecpg_user2" does not exist 5 messages · 2017-08-28