From: | Christopher Frank <c(dot)frank(at)gmail(dot)com> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Can't get list of databases with \list |
Date: | 2009-11-02 21:05:52 |
Message-ID: | bedec1780911021305r3e1a794co77f1adba11434c5d@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Mon, Nov 2, 2009 at 3:51 PM, Richard Broersma <richard(dot)broersma(at)gmail(dot)com
> wrote:
> On Mon, Nov 2, 2009 at 12:34 PM, Christopher Frank <c(dot)frank(at)gmail(dot)com>
> wrote:
>
> >> I'm not sure how many JDBC hackers hang out here; you might be better
> >> advised to ask on the pgsql-jdbc list.
> >>
> >> regards, tom lane
> >
> > As for JDBC, there may be something that gives equivalent information,
> but I
> > couldn't find it.
>
> http://java.sun.com/javase/6/docs/api/java/sql/DatabaseMetaData.html
>
> getCatalogs()
>
>
> --
> Regards,
> Richard Broersma Jr.
>
> Visit the Los Angeles PostgreSQL Users Group (LAPUG)
> http://pugs.postgresql.org/lapug
>
I had tried that but it only returned one database, the database to which I
was already connected. There should have been 3 others.
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Broersma | 2009-11-02 21:10:48 | Re: Can't get list of databases with \list |
Previous Message | Richard Broersma | 2009-11-02 20:51:01 | Re: Can't get list of databases with \list |