Re: make check fails: user "postgres" doesn't exist

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Bertheau <twanger(at)bluetwanger(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: make check fails: user "postgres" doesn't exist
Date: 2003-07-01 21:30:11
Message-ID: 22045.1057095011@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Markus Bertheau <twanger(at)bluetwanger(dot)de> writes:
> make check fails, and I have absolutely no idea where to look:

> running on port 65432 with pid 631
> ============== creating database "regression" ==============
> createdb: could not connect to database template1: FATAL: user
> "postgres" does not exist

(scratches head...) make check should automatically adopt your current
username as the postgres superuser name, AFAIK. Perhaps there is some
conflict in your environment settings? Do you have PGUSER defined, and
if so is it different from your login name?

You can dig around in the logs left in src/test/regress/log/ to see
what make check was doing. initdb's report of the username it thought
it was using would be worth looking at, in particular.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Bertheau 2003-07-01 21:37:54 Re: make check fails: user "postgres" doesn't exist
Previous Message Tom Lane 2003-07-01 21:26:34 7.4 feature freeze is here