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

From Larry Rosenman
Subject Re: make check fails: user "postgres" doesn't exist
Date
Msg-id 51680000.1057094606@lerlaptop.iadfw.net
Whole thread Raw
In response to Re: make check fails: user "postgres" doesn't exist  (Jeff <jam@zoidtechnologies.com>)
List pgsql-hackers
Are you looking for:

gmake installcheck

LER


--On Tuesday, July 01, 2003 17:21:37 -0400 Jeff <jam@zoidtechnologies.com> 
wrote:

> 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



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749





pgsql-hackers by date:

Previous
From: Jeff
Date:
Subject: Re: make check fails: user "postgres" doesn't exist
Next
From: Tom Lane
Date:
Subject: 7.4 feature freeze is here