pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaël BOUGANNE <gael.bouganne@univ-nantes.fr>
To: pgsql-jdbc@postgresql.org
Subject: Getting views' metadata
Date: Tue, 09 Jun 2009 13:53:32 +0200
Message-ID: <4A2E4D3C.6040908@univ-nantes.fr> (raw)

Hi,

i'm trying to retrieve complete metadata of my pgsql 8.3 database using 
JDBC.
But i got a problem getting the columns informations of views.
I succesfully get the view names using 'getTables(...)' method, but when 
calling 'getColumns(...)' for a given view, the returned ResultSet is empty.

So i wonder wether it is possible to get such information or not. If it 
is possible how shall i do?

Regards,

Gaël BOUGANNE



view thread (2+ messages)  latest in thread

Message-ID: <4A2E4D3C.6040908@univ-nantes.fr>
Permalink:  ../4A2E4D3C.6040908@univ-nantes.fr/
Also on:    postgresql.org/message-id/4A2E4D3C.6040908@univ-nantes.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: gael.bouganne@univ-nantes.fr
  Subject: Re: Getting views' metadata
  In-Reply-To: <4A2E4D3C.6040908@univ-nantes.fr>
  References: <4A2E4D3C.6040908@univ-nantes.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox