Re: how to allow a sysid to be a superuser?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: how to allow a sysid to be a superuser?
Date: 2009-12-08 20:46:51
Message-ID: dcc563d10912081246j26f45e8es96d28d2d06a4095d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Dec 8, 2009 at 1:44 PM, Gauthier, Dave <dave(dot)gauthier(at)intel(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-12-08 20:51:38 Re: Implementing next 30 (or so) rows "sliding window"
Previous Message Gauthier, Dave 2009-12-08 20:44:09 Re: how to allow a sysid to be a superuser?