Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmqrq-0003rd-Kx for pgsql-jdbc@arkaria.postgresql.org; Thu, 15 Oct 2015 22:19:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zmqrq-0003qj-6n for pgsql-jdbc@arkaria.postgresql.org; Thu, 15 Oct 2015 22:19:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zmqrp-0003qd-UE for pgsql-jdbc@postgresql.org; Thu, 15 Oct 2015 22:19:21 +0000 Received: from plane.gmane.org ([80.91.229.3]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Zmqrl-0001p3-F0 for pgsql-jdbc@postgresql.org; Thu, 15 Oct 2015 22:19:21 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zmqre-0002Kc-JI for pgsql-jdbc@postgresql.org; Fri, 16 Oct 2015 00:19:10 +0200 Received: from ppp-46-244-206-106.dynamic.mnet-online.de ([46.244.206.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Oct 2015 00:19:10 +0200 Received: from spam_eater by ppp-46-244-206-106.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Oct 2015 00:19:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: Release 1204 released Date: Fri, 16 Oct 2015 00:19:04 +0200 Lines: 40 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-46-244-206-106.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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 > www.postgresintl.com > > On 15 October 2015 at 17:39, Thomas Kellerer > 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