Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f68KGQa61187 for ; Sun, 8 Jul 2001 16:16:26 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.10.1/8.10.1) id f68KGKS22544; Sun, 8 Jul 2001 16:16:20 -0400 (EDT) From: Bruce Momjian Message-Id: <200107082016.f68KGKS22544@candle.pha.pa.us> Subject: Re: DatabaseMetaData.getCatalogs() In-Reply-To: <533939.994610574558.JavaMail.jason@www2.kc.aoindustries.com> "from jason@netspade.com at Jul 8, 2001 11:42:54 am" To: jason@netspade.com Date: Sun, 8 Jul 2001 16:16:20 -0400 (EDT) CC: pgsql-jdbc@postgresql.org X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200107/44 X-Sequence-Number: 964 > [[[ Original Message from Peter Eisentraut ]]] > > > jason@netspade.com writes: > > > > > Is there a reason why getCatalogs() is not supported in the JDBC driver? First > > of all, what is the definition of a catalog? The MySQL JDBC driver simply returns > > a list of the databases so a simple select datname from pg_database; would do > > the same thing. However there is probably a reason for this and I would be grateful > > if you would explain. > > > > It is as of three minutes ago. > > Thanks a lot :) How can I help with coding the JDBC classes? I have some code for getting table privileges etc. which I'd like to add. Do I need a cvs username or should I post the code here? Just send over a context diff patch, either against 7.1.2 or CVS. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026