Skip site navigation (1) Skip section navigation (2)

Re: [NOVICE] Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of databases with \list

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: Michael Wood <esiotrot(at)gmail(dot)com>
Cc: Christopher Frank <c(dot)frank(at)gmail(dot)com>, pgsql-novice(at)postgresql(dot)org, pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [NOVICE] Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of databases with \list
Date: 2009-11-03 18:39:54
Message-ID: 396486430911031039v7a364337r965e30d824590d8e@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbcpgsql-novice
On Tue, Nov 3, 2009 at 10:29 AM, Michael Wood <esiotrot(at)gmail(dot)com> wrote:

> What does it do when you have multiple schemas (schemata?) in the database?

It returns a ResultSet listing all of the schemas:

Where is what I get when I tested it:

a
b
c
information_schema
pg_catalog
pg_toast_temp_1
public


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

In response to

pgsql-novice by date

Next:From: Greg StarkDate: 2009-11-04 00:02:57
Subject: Re: corrupt db
Previous:From: Michael WoodDate: 2009-11-03 18:38:24
Subject: Re: corrupt db

pgsql-jdbc by date

Next:From: Kevin GrittnerDate: 2009-11-04 22:40:17
Subject: Re: commit and rollback don't throw exceptions when they should
Previous:From: Michael WoodDate: 2009-11-03 18:29:08
Subject: Re: [NOVICE] Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of databases with \list

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group