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

From: kumar1(at)home(dot)com (Prasanth A(dot) Kumar)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: How to list and remove a user in postgres ?
Date: 2000-07-13 02:41:59
Message-ID: m3bt02vjig.fsf@C654771-a.frmt1.sfba.home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

HomerWelch <hjwxxx(at)home(dot)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(at)home(dot)com
> Troy, Michigan

drop user username;
select usename from pg_user;

--
Prasanth Kumar
kumar1(at)home(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2000-07-13 03:51:31 Re: select for update not locking properly.
Previous Message Joseph Shraibman 2000-07-13 02:35:22 select for update not locking properly.