Re: how to allow a sysid to be a superuser? - Mailing list pgsql-general

From Scott Marlowe
Subject Re: how to allow a sysid to be a superuser?
Date
Msg-id dcc563d10912081246j26f45e8es96d28d2d06a4095d@mail.gmail.com
Whole thread Raw
In response to Re: how to allow a sysid to be a superuser?  ("Gauthier, Dave" <dave.gauthier@intel.com>)
List pgsql-general
On Tue, Dec 8, 2009 at 1:44 PM, Gauthier, Dave <dave.gauthier@intel.com> wrote:
> It comes back...
>
> role "joetheplumber" does not exist
>
> The user is a sys uid on linux.

You're confusing linux users with postgresql users.  They aren't
mapped one to the other.  First you need to create a pgsql role /
user:

psql postgres
create user joetheplumber superuser;

then you'll have the account for joetheplumber as a superuser.

pgsql-general by date:

Previous
From: "Gauthier, Dave"
Date:
Subject: Re: how to allow a sysid to be a superuser?
Next
From: Scott Marlowe
Date:
Subject: Re: Implementing next 30 (or so) rows "sliding window"