Re: Listing Database - Mailing list pgsql-jdbc

From Franco Bruno Borghesi
Subject Re: Listing Database
Date
Msg-id 1088794217.2386.1.camel@taz.oficina
Whole thread Raw
In response to Listing Database  (Steven Bell <sfbell@keasdesign.net>)
List pgsql-jdbc
what if you just execute the query "select datname from pg_database" in a Statement and iterate the ResultSet?


On Fri, 2004-07-02 at 15:21, Steven Bell wrote:
Hello,

I am starting out with the PostgreSQL JDBC and I was wondering how to 
get a list of the databases. I know from the psql command line, \l will 
do it. But how about within a Java app?

Thanks,
Steve.

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
              http://www.postgresql.org/docs/faqs/FAQ.html
Attachment

pgsql-jdbc by date:

Previous
From: "Chris Smith"
Date:
Subject: Re: Listing Database
Next
From: Dave Cramer
Date:
Subject: getXXX methods