pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedRetrieving User information
2+ messages / 2 participants
[nested] [flat]
* Retrieving User information
@ 2004-07-13 15:42 Steven Bell <sfbell@keasdesign.net>
2004-07-13 16:44 ` Re: Retrieving User information Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 2+ messages in thread
From: Steven Bell @ 2004-07-13 15:42 UTC (permalink / raw)
To: pgsql-jdbc
What is the best method to retrieve user information on a particular
database?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Retrieving User information
2004-07-13 15:42 Retrieving User information Steven Bell <sfbell@keasdesign.net>
@ 2004-07-13 16:44 ` Kris Jurka <books@ejurka.com>
0 siblings, 0 replies; 2+ messages in thread
From: Kris Jurka @ 2004-07-13 16:44 UTC (permalink / raw)
To: Steven Bell <sfbell@keasdesign.net>; +Cc: pgsql-jdbc
On Tue, 13 Jul 2004, Steven Bell wrote:
> What is the best method to retrieve user information on a particular
> database?
>
The JDBC DatabaseMetaData API has no provisions for returning a list of
users. It does have methods for permissions like getTablePrivileges, but
this isn't the same. You will likely need to issue direct sql statements
against the system catalogs. See pg_user for example.
Kris Jurka
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-07-13 16:44 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-07-13 15:42 Retrieving User information Steven Bell <sfbell@keasdesign.net>
2004-07-13 16:44 ` Kris Jurka <books@ejurka.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox