Re: Strange result from DatabaseMetaData.getTablePrivileges()

From: Kris Jurka <books(at)ejurka(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Strange result from DatabaseMetaData.getTablePrivileges()
Date: 2007-01-28 22:36:39
Message-ID: Pine.BSO.4.64.0701281735170.16434@leary2.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sun, 28 Jan 2007, Thomas Kellerer wrote:

> I just noticed that getTablePrivileges() returns the same privilege for the
> same user multiple times. Additionally it returns several rows with the
> privilege "UNKNOWN".

This is a known bug. The ACL parsing code has not been updated since the
7.3 release and the format has changed numerous times.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2007-01-28 22:53:01 Re: escape string for pgsql (using jdbc/java)?
Previous Message Thomas Kellerer 2007-01-28 17:26:19 Strange result from DatabaseMetaData.getTablePrivileges()