pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jason@netspade.com
To: Peter Eisentraut <pgsql-jdbc@postgresql.org>
Subject: Re: DatabaseMetaData.getCatalogs()
Date: Mon, 9 Jul 2001 12:44:57 -0500
Message-ID: <2814131.994700696717.JavaMail.jason@www2.kc.aoindustries.com> (raw)

[[[ Original Message from Peter Eisentraut <peter_e@gmx.net> ]]]

> 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



view thread (12+ messages)  latest in thread

Message-ID: <2814131.994700696717.JavaMail.jason@www2.kc.aoindustries.com>
Permalink:  ../2814131.994700696717.JavaMail.jason@www2.kc.aoindustries.com/
Also on:    postgresql.org/message-id/2814131.994700696717.JavaMail.jason@www2.kc.aoindustries.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: jason@netspade.com
  Subject: Re: DatabaseMetaData.getCatalogs()
  In-Reply-To: <2814131.994700696717.JavaMail.jason@www2.kc.aoindustries.com>
  References: <2814131.994700696717.JavaMail.jason@www2.kc.aoindustries.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox