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

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: how to allow a sysid to be a superuser?
Дата
Msg-id dcc563d10912081246j26f45e8es96d28d2d06a4095d@mail.gmail.com
обсуждение исходный текст
Ответ на Re: how to allow a sysid to be a superuser?  ("Gauthier, Dave" <dave.gauthier@intel.com>)
Список 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 по дате отправления:

Предыдущее
От: "Gauthier, Dave"
Дата:
Сообщение: Re: how to allow a sysid to be a superuser?
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Implementing next 30 (or so) rows "sliding window"