Specify the port in dblink and postgres_fdw tests.
Andres Freund <andres@anarazel.de>
Specify the port in dblink and postgres_fdw tests. That allows to run those tests against a postmaster listening on a nonstandard port without requiring to export PGPORT in postmaster's environment. This still doesn't support connecting to a nondefault host without configuring it in postmaster's environment. That's harder and less frequently used though. So this is a useful step.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/dblink/expected/dblink.out | modified | +4 −2 |
| contrib/dblink/sql/dblink.sql | modified | +4 −2 |
| contrib/postgres_fdw/expected/postgres_fdw.out | modified | +3 −1 |
| contrib/postgres_fdw/sql/postgres_fdw.sql | modified | +3 −1 |