Received: from www2.kc.aoindustries.com (www2.kc.aoindustries.com [209.15.126.84]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f69Hiwa87606 for ; Mon, 9 Jul 2001 13:44:58 -0400 (EDT) (envelope-from jason@netspade.com) Received: from www2.kc.aoindustries.com (IDENT:jason@www2.kc.aoindustries.com [209.15.126.84]) by www2.kc.aoindustries.com (8.11.2/8.8.7) with ESMTP id f69HiuM06897 for ; Mon, 9 Jul 2001 12:44:57 -0500 Date: Mon, 9 Jul 2001 12:44:57 -0500 Message-ID: <2814131.994700696717.JavaMail.jason@www2.kc.aoindustries.com> From: jason@netspade.com To: Peter Eisentraut Subject: Re: DatabaseMetaData.getCatalogs() Mime-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Lizzie 0.1.1 X-Archive-Number: 200107/54 X-Sequence-Number: 974 [[[ Original Message from Peter Eisentraut ]]] > The list of columns you return is wrong. There is no COLUMN_NAME column. Does PostgreSQL actually support privileges for individual columns? > 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). Sorry about that. Surely the grantee is the username in the relacl field e.g. {"=","jason=arwR"} and the grantor is the owner of the table? Jason