Let installcheck-world pass against a server requiring a password.
authorNoah Misch <noah@leadboat.com>
Fri, 20 Jun 2014 01:41:26 +0000 (21:41 -0400)
committerNoah Misch <noah@leadboat.com>
Fri, 20 Jun 2014 01:41:26 +0000 (21:41 -0400)
commitc82725edfa1aec1cad940b15b6e22ee3dbd57f20
tree9a8115e87847fee717d2c1457c2097bf9ec2d53d
parentf28d9b10f73440adcb2e094440b4b213673e491b
Let installcheck-world pass against a server requiring a password.

Give passwords to each user created in support of an ECPG connection
test case.  Use SET SESSION AUTHORIZATION, not a fresh connection, to
reduce privileges during a dblink test case.

To test against such a server, both the "make installcheck-world"
environment and the postmaster environment must provide the default
user's password; $PGPASSFILE is the principal way to do so.  (The
postmaster environment needs it for dblink and postgres_fdw tests.)
contrib/dblink/expected/dblink.out
contrib/dblink/sql/dblink.sql
src/interfaces/ecpg/test/connect/test5.pgc
src/interfaces/ecpg/test/expected/connect-test5.c
src/interfaces/ecpg/test/expected/connect-test5.stderr