Re: getting database privileges

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Tore Halset <halset(at)pvv(dot)ntnu(dot)no>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: getting database privileges
Date: 2013-06-19 10:13:25
Message-ID: CADK3HH+Ccp9Ovgf1cfJrdMj7zwR+pjyfBVNj=0VMVyxD317wUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Apparently JDBC doesn't have this facility, but in postgresql you can have
a look at

http://www.postgresql.org/docs/9.2/static/view-pg-user.html

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On Wed, Jun 19, 2013 at 3:46 AM, Tore Halset <halset(at)pvv(dot)ntnu(dot)no> wrote:

> Hello.
>
> DatabaseMetaData#getTablePrivileges and #getColumnPrivileges is nice, but
> how can I get the privileges of the PostgreSQL database via jdbc? Like the
> privilege to create new tables and such.
>
> Regards,
> Tore Halset.
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bryan Varner 2013-06-21 21:21:53 XA Interleaving Pull Requests
Previous Message Tore Halset 2013-06-19 07:46:20 getting database privileges