Re: make check fails: user "postgres" doesn't exist - Mailing list pgsql-hackers

From Jeff
Subject Re: make check fails: user "postgres" doesn't exist
Date
Msg-id 20030701212137.GD11270@zoidtechnologies.com
Whole thread Raw
In response to Re: make check fails: user "postgres" doesn't exist  (Markus Bertheau <twanger@bluetwanger.de>)
Responses Re: make check fails: user "postgres" doesn't exist  (Larry Rosenman <ler@lerctr.org>)
List pgsql-hackers
On Tue, Jul 01, 2003 at 11:09:15PM +0200, Markus Bertheau wrote:
> Subject: Re: [HACKERS] make check fails: user "postgres" doesn't exist
> From: Markus Bertheau <twanger@bluetwanger.de>
> To: Jeff <jam@zoidtechnologies.com>
> Cc: pgsql-hackers@postgresql.org
> X-Mailer: Ximian Evolution 1.4.0
> Date: 01 Jul 2003 23:09:15 +0200
>
> ?? ??????, 01.07.2003, ?? 22:53, Jeff ??????????:
> > On Tue, Jul 01, 2003 at 10:28:12PM +0200, Markus Bertheau wrote:
> > > 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
> > > pg_regress: createdb failed
> > > make: *** [check] ???????????? 2
> > >
> >
> > simply add the user. in a unix environment, and specifically Red Hat (though
> > it may apply in other places), you use the 'adduser' program, which has a
> > good man page. try 'man -k passwd' or 'man -k user' or something for hints
> > on your platform.
>
> The user postgres exists, but that wouldn't help, because I'm running
> make check as a user. And the postgres user that is meant is the
> postgres user that has nothing to do with the system postgres user, I
> think.
>

ah, ok in that case you need to configure pg appropriately.. maybe you need
to 'map' your current username to 'postgres'.. I dunno :)

just trying to be helpful is all.. I shall step aside and let others
respond.

regards,
J
--
|| Jeff - http://zoidtechnologies.com/
|| GNUPG Fingerprint: A607 0F19 7C75 1305 67E4  BDFF 26BD 606E 3517 2A42

pgsql-hackers by date:

Previous
From: Markus Bertheau
Date:
Subject: Re: make check fails: user "postgres" doesn't exist
Next
From: Larry Rosenman
Date:
Subject: Re: make check fails: user "postgres" doesn't exist