Search Postgresql Archives

Re: Running postgres with a different user/group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gabriele,

On Wed, 3 Nov 2010 11:29:25 +0100 (CET), Gabriele Bulfon
<gbulfon@xxxxxxxxxxx> wrote:
> I need to run postgres under the same user/group, witout having to
create
> and use postgres user.

That's reasonable and perfectly doable with Postgres.

> 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?

That means that PostgreSQL is successfully running. Try and connect to the
database using a different user by passing the '-U' option to psql or by
setting the PGUSER environment variable.

> I can rebuild from sources, if needed.

I believe there is no need to do that.

Ciao,
Gabriele
-- 
 Gabriele Bartolini - 2ndQuadrant Italia
 PostgreSQL Training, Services and Support
 Gabriele.Bartolini@xxxxxxxxxxxxxx - www.2ndQuadrant.it

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux