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>