getTablePrivileges() does not report TRUNCATE privilege correctly

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема getTablePrivileges() does not report TRUNCATE privilege correctly
Дата
Msg-id hepkhe$tv4$1@ger.gmane.org
обсуждение исходный текст
Ответы Re: getTablePrivileges() does not report TRUNCATE privilege correctly
Список pgsql-jdbc
Hi,

I was seeing an UNKNOWN privilege returned from getTablePrivileges() and the cause for this is the new TRUNCATE
privilege. 

I have a table where the acl looks like this:

{thomas=arwdDxt/thomas,=arwdDxt/thomas}

The D will be translated to "UNKNOWN" in AbstractJdbc2DatabaseMetaData.addACLPrivileges()

The switch simply does not contain an entry for 'D', so the fix should be fairly easy.

I checked this in the sources for 8.4-701


Regards
Thomas


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: getUdateCount() vs. RETURNING clause
Следующее
От: hw@solvedirect.com
Дата:
Сообщение: Upgrading jdbc