Re: getTablePrivileges empty if table owned by group role

From: Kris Jurka <books(at)ejurka(dot)com>
To: Jonas Sundman <jonas(dot)sundman(at)thl(dot)fi>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: getTablePrivileges empty if table owned by group role
Date: 2011-08-23 17:19:51
Message-ID: alpine.BSO.2.00.1108231315490.20121@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 23 Aug 2011, Jonas Sundman wrote:

> after some digging and further reading in the todo list I learned that acl
> parsing is known to be uncompatible with versions after 7.3.
>
> I decided to have a look into the code and turned up with a working
> version of the acl parsing, which I would like to share.

Great. Can you resend as a context diff (diff -c), the default format
isn't really usable. Also we need to able to support the older ACL
formats as well. I haven't read your patch, but my ancient notes say 7.3,
7.4, and 8.0 all have different formats. I know you aren't likely to have
these old versions handy, but can you test with the attached ACL entries
and ensure they get parsed correctly?

Kris Jurka

Attachment Content-Type Size
ACLs text/plain 507 bytes

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2011-08-23 18:11:28 Re: Is it possible to get the Payload from a NOTIFY via the JDBC Driver?
Previous Message Jonas Sundman 2011-08-23 12:30:07 Re: getTablePrivileges empty if table owned by group role