Re: 1 test fails in make installcheck-world - database "regress_ecpg_user2" does not exist

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ryan Murphy <ryanfmurphy@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-08-28T11:39:36Z
Lists: pgsql-hackers
Ryan Murphy <ryanfmurphy@gmail.com> writes:
> And when I look at that diffs file, this is what I see:

> - [NO_PID]: ECPGconnect: could not open database: FATAL:  database
> "regress_ecpg_user2" does not exist

> Why would this database not be getting created?

No, you're reading it backwards: the error is expected, but it's not
appearing in your results.  I can duplicate this if I manually create
database "regress_ecpg_user2" before running ecpg's installcheck,
so I guess that's what you did.  I can find no evidence that any
part of the PG regression tests creates such a database.

			regards, tom lane


Commits

  1. Fix over-aggressive sanity check in misc_sanity.sql.