Re: Determine users and roles - Mailing list pgsql-general

From Jorge Godoy
Subject Re: Determine users and roles
Date
Msg-id 87vehbbg05.fsf@gmail.com
Whole thread Raw
In response to Determine users and roles  (RPK <rpk.general@gmail.com>)
List pgsql-general
RPK <rpk.general@gmail.com> writes:

> I want to determine the usernames, privileges and roles of the users that are
> created for a particular database. I am using PGSQL 8.2.3 on Windows XP. I
> want to run SQL query for this.

In PostgreSQL users aren't created per database but per cluster.

Run the equivalent of "psql -E" in your command prompt and issue a "\du".


Be seeing you,
--
Jorge Godoy      <jgodoy@gmail.com>

pgsql-general by date:

Previous
From: Jorge Godoy
Date:
Subject: Re: No buffer space available
Next
From: "Ted Byers"
Date:
Subject: Re: security permissions for functions