Don't hardcode contrib_regression dbname in postgres_fdw and dblink tests.
Andres Freund <andres@anarazel.de>
Don't hardcode contrib_regression dbname in postgres_fdw and dblink tests. That allows parallel installcheck to succeed inside contrib/. The output is not particularly pretty unless make's -O option to synchronize the output is used. There's other tests, outside contrib, that use a hardcoded, non-unique, database name. Those prohibit paralell installcheck to be used across more directories; but that's something for a separate patch.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/dblink/expected/dblink.out | modified | +25 −18 |
| contrib/dblink/Makefile | modified | +0 −3 |
| contrib/dblink/sql/dblink.sql | modified | +27 −18 |
| contrib/postgres_fdw/expected/postgres_fdw.out | modified | +6 −2 |
| contrib/postgres_fdw/Makefile | modified | +0 −3 |
| contrib/postgres_fdw/sql/postgres_fdw.sql | modified | +6 −2 |