From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Release 1204 released
Date: Fri, 16 Oct 2015 00:19:04 +0200
Message-ID: <mvp8op$7h2$1@ger.gmane.org> (raw)
In-Reply-To: <CADK3HH+baRBAQMPZoHC6KH3w6L2=4Y9P+obKYC9P102-QfsmNQ@mail.gmail.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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Wouldn't it make more sense to _exclude_ those types that should
absolutely not appear there?
I don't really see the point of excluding anything there in the first place
to be honest.
This method won't get called "accidently" with some random object name.
If that is an index (or something else), that's what the user requested.
As indexes and tables share the same namespace there will never be
any ambiguity which object is meant.
Currently the driver also returns columns for types "create type foo as ..."
I do rely on that as well.
Regards
Thomas
Dave Cramer schrieb am 15.10.2015 um 23:53:
> That's fine. I'll revert it. But I think the previous issue was that
> it was also returning indexes as well. I'll just narrow down to
> tables, views, and mat views
>
> Dave Cramer
>
> davec@postgresintl.com <mailto:davec@postgresintl.com>
> www.postgresintl.com <http://www.postgresintl.com;
>
> On 15 October 2015 at 17:39, Thomas Kellerer <spam_eater@gmx.net <mailto:spam_eater@gmx.net>> wrote:
>
> All I can say is, that due to the nature of SQL Workbench (being DBMS independent) I do use (or at least test)
> many other DBMS and every[1] other JDBC driver does return view columns - including materialized views in Oracle and DB2.
>
> So apparently all the other vendors think it makes sense to return view (and materialized view) columns.
>
> Thomas
>
> [1] I have tested at least briefly more than 15 different ones.
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: spam_eater@gmx.net
Subject: Re: Release 1204 released
In-Reply-To: <mvp8op$7h2$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>
* 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