Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 3B557633FCA; Tue, 3 Nov 2009 14:16:31 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 69945-03; Tue, 3 Nov 2009 18:16:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id 86057633918; Tue, 3 Nov 2009 14:16:17 -0400 (AST) Received: by leary.csoft.net (Postfix, from userid 1112) id 3127FA35B; Tue, 3 Nov 2009 13:16:16 -0500 (EST) Date: Tue, 3 Nov 2009 13:16:15 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Richard Broersma cc: Christopher Frank , pgsql-novice@postgresql.org, pgsql-jdbc Subject: Re: Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of databases with \list In-Reply-To: <396486430911030936r725f6163m3384fad30721b36c@mail.gmail.com> Message-ID: References: <396486430911030936r725f6163m3384fad30721b36c@mail.gmail.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=AWL=0.000, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200911/3 X-Sequence-Number: 20050 On Tue, 3 Nov 2009, Richard Broersma wrote: > I verified that the DatabaseMetaData.getCatalogs() only returns a > ResultSet with the currently connect database rather than all of the > databases in the PostgreSQL cluster. > The previous discussion to refer to is probably: http://archives.postgresql.org/pgsql-jdbc/2004-01/msg00164.php Crippling getCatalogs was the best proposed solution to the fact that no other catalog based functionality existed (or could). Kris Jurka