Running postgres with a different user/group - Mailing list pgsql-general

From Gabriele Bulfon
Subject Running postgres with a different user/group
Date
Msg-id 31725673.36.1288780165320.JavaMail.root@www
Whole thread Raw
Responses Re: Running postgres with a different user/group  (Raymond O'Donnell <rod@iol.ie>)
Re: Running postgres with a different user/group  (Gabriele Bartolini <Gabriele.Bartolini@2ndQuadrant.it>)
List pgsql-general
Hi,
I installed latest postgres from sources inside a custom environment of mine.
This environment runs various services, all under a common user/group.
I need to run postgres under the same user/group, witout having to create and use postgres user.
I could do it, and postgres starts.
But now I can't seem to connect to the database, because it says:

FATAL: role "postgres" does not exist

How can I let postgres run under my own user instead of postgres?
I can rebuild from sources, if needed.

Thanx,
Gabriele.

-= Mail sent through WebTop2 =-

pgsql-general by date:

Previous
From: Gerrit Seré
Date:
Subject: Compiling PostgreSql 9.0 on Sparc Solaris (64 bit)
Next
From: Raymond O'Donnell
Date:
Subject: Re: Running postgres with a different user/group