Re: Re: How to list and remove a user in postgres ?

Поиск
Список
Период
Сортировка
От kumar1@home.com (Prasanth A. Kumar)
Тема Re: Re: How to list and remove a user in postgres ?
Дата
Msg-id m3bt02vjig.fsf@C654771-a.frmt1.sfba.home.com
обсуждение исходный текст
Ответ на Re: How to list and remove a user in postgres ?  (HomerWelch <hjwxxx@home.com>)
Список pgsql-general
HomerWelch <hjwxxx@home.com> writes:

> Fred wrote:
> >
> > Hi,
> >
> > I am a newby and i dont understand how to list al the users or delete them ?
> >
> > 1 do i it from the command line in Linux
> > 2 or in the database
> >
> > i have a user Fred and a user Grades and want delete them.
> >
>
> Go onto psql and type \h.  This will bring up topics that
> you can access by typing the backslash and the topic name
> (\h createuser.)  I don't recall a method for listing all
> users.
>
> --
>
> Homer J. Welch        hjwxxx@home.com
> Troy, Michigan

drop user username;
select usename from pg_user;

--
Prasanth Kumar
kumar1@home.com

В списке pgsql-general по дате отправления:

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: select for update not locking properly.
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: select for update not locking properly.