]> granicus.if.org Git - postgresql/commit
Stabilize postgres_fdw regression tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Jul 2017 18:20:43 +0000 (14:20 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Jul 2017 18:20:43 +0000 (14:20 -0400)
commit0d503dd1ff316882ac4698d7ff1e0bf2a3222cfb
treebc92bb9d549677f5e4a92f1dbebb83cd1402e358
parent0fe21602e27fab20845e2345691b5522edd53c02
Stabilize postgres_fdw regression tests.

The new test cases added in commit 8bf58c0d9 turn out to have output
that can vary depending on the lc_messages setting prevailing on the
test server.  Hide the remote end's error messages to ensure stable
output.  This isn't a terribly desirable solution; we'd rather know
that the connection failed for the expected reason and not some other
one.  But there seems little choice for the moment.

Per buildfarm.

Discussion: https://postgr.es/m/18419.1500658570@sss.pgh.pa.us
contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/sql/postgres_fdw.sql