From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | <jason(at)netspade(dot)com> |
Cc: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: DatabaseMetaData.getCatalogs() |
Date: | 2001-07-09 16:03:28 |
Message-ID: | Pine.LNX.4.30.0107091757400.677-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
jason(at)netspade(dot)com writes:
> Okay here's a context diff against CVS for getting table privileges. I may have more code to add (I noticed getColumnPrivileges() is not completed - could use my routine for parsing pg_class.relacl?).
The list of columns you return is wrong. There is no COLUMN_NAME column.
TABLE_CAT should be filled in with the database name (should be available
via getConnection().getCatalog()). A missing TABLE_SCHEM should be set to
null (in the SQL sense). Also you have GRANTOR and GRANTEE mixed up,
besides the fact that PostgreSQL doesn't store the GRANTEE at all (yet).
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Wampler | 2001-07-09 17:27:28 | Re: Too much data received? |
Previous Message | jason | 2001-07-09 09:02:31 | Re: DatabaseMetaData.getCatalogs() |