pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Rotteveel <mark@lawinegevaar.nl>
To: pgsql-jdbc@postgresql.org
Subject: Re: Release 1204 released
Date: Fri, 16 Oct 2015 09:01:26 +0200
Message-ID: <51093c12dca2bcd9a042e2cb92b66551@imap.procolix.com> (raw)
In-Reply-To: <mvq6o7$ia5$1@ger.gmane.org>
References: <CADK3HHJVEOhKLKPqVpmTXXuEpGUJ-_uEgRUYGQrHT-qhVn4nEg@mail.gmail.com>
	<mvnqib$k89$1@ger.gmane.org>
	<CADK3HHJGVMb9YgNDnP05f3RYiD5kVddgqETC28FFdkn=0wMdQA@mail.gmail.com>
	<CADK3HHKzHSEzCwGDmOq2wGSfFtFmmq=YbSSOCs-9eMDXswOdzg@mail.gmail.com>
	<mvp6e7$4ls$1@ger.gmane.org>
	<CADK3HH+baRBAQMPZoHC6KH3w6L2=4Y9P+obKYC9P102-QfsmNQ@mail.gmail.com>
	<mvp8op$7h2$1@ger.gmane.org>
	<CADK3HH+o0P15dLUZDeg4zn+htM9aj6i18+w39JBOBmi5YDhVZA@mail.gmail.com>
	<mvq6o7$ia5$1@ger.gmane.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On Fri, 16 Oct 2015 08:50:47 +0200, Thomas Kellerer <spam_eater@gmx.net>
wrote:
> Interesting issue - that is indeed a use-case I didn't think about.
> 
> It's too bad that getColumns() doesn't return a "TABLE_TYPE" column that
> would match the types returned by getTableTypes()
> 
> However, information_schema.columns does return columns from views, so
> those should at least be included 
> (although not getting columns for materialized views or types would mean
I
> had to adjust my SQL Workbench for that)

As I understand it, materialized views are a type of table (or maybe a
special type of view), and therefor should be returned by getTables. A JDBC
driver is free to define additional table types, as long as those types
behave like tables (as in: can be selected). Not sure how that works for
types.

Mark


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (21+ messages)  latest in thread

Message-ID: <51093c12dca2bcd9a042e2cb92b66551@imap.procolix.com>
Permalink:  ../51093c12dca2bcd9a042e2cb92b66551@imap.procolix.com/
Also on:    postgresql.org/message-id/51093c12dca2bcd9a042e2cb92b66551@imap.procolix.com

 · 

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: mark@lawinegevaar.nl
  Subject: Re: Release 1204 released
  In-Reply-To: <51093c12dca2bcd9a042e2cb92b66551@imap.procolix.com>
  References: <CADK3HHJVEOhKLKPqVpmTXXuEpGUJ-_uEgRUYGQrHT-qhVn4nEg@mail.gmail.com> <mvnqib$k89$1@ger.gmane.org> <CADK3HHJGVMb9YgNDnP05f3RYiD5kVddgqETC28FFdkn=0wMdQA@mail.gmail.com> <CADK3HHKzHSEzCwGDmOq2wGSfFtFmmq=YbSSOCs-9eMDXswOdzg@mail.gmail.com> <mvp6e7$4ls$1@ger.gmane.org> <CADK3HH+baRBAQMPZoHC6KH3w6L2=4Y9P+obKYC9P102-QfsmNQ@mail.gmail.com> <mvp8op$7h2$1@ger.gmane.org> <CADK3HH+o0P15dLUZDeg4zn+htM9aj6i18+w39JBOBmi5YDhVZA@mail.gmail.com> <mvq6o7$ia5$1@ger.gmane.org> <51093c12dca2bcd9a042e2cb92b66551@imap.procolix.com>

* 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