Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmpv8-00016k-2u for pgsql-jdbc@arkaria.postgresql.org; Thu, 15 Oct 2015 21:18:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zmpv7-0006xt-BP for pgsql-jdbc@arkaria.postgresql.org; Thu, 15 Oct 2015 21:18:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zmpub-0006N5-W3 for pgsql-jdbc@postgresql.org; Thu, 15 Oct 2015 21:18:10 +0000 Received: from smtprelay01.ispgateway.de ([80.67.18.43]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZmpuY-0007du-6j for pgsql-jdbc@postgresql.org; Thu, 15 Oct 2015 21:18:08 +0000 Received: from [88.66.25.156] (helo=Zauselmaus) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1ZmpuC-0000kr-3Q; Thu, 15 Oct 2015 23:17:44 +0200 From: "Markus KARG" To: "'Dave Cramer'" , "'Thomas Kellerer'" Cc: "'List'" , References: In-Reply-To: Subject: Re: Release 1204 released Date: Thu, 15 Oct 2015 23:17:44 +0200 Organization: Markus KARG, Staatl. gepr. Inf. Message-ID: <013401d1078e$ef0c82a0$cd2587e0$@eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0135_01D1079F.B29552A0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdEHitm3OkqmbePQQoWqUW6XWVZ/IgAA6llg Content-Language: de X-AVK-Virus-Check: AVA 25.2465;479D603D X-AVK-Spam-Check: 1; str=0001.0A0C0202.562017F8.0025,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0; F1206 X-Df-Sender: bWFya3VzQGhlYWRjcmFzaGluZy5ldQ== 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 This is a multi-part message in MIME format. ------=_NextPart_000_0135_01D1079F.B29552A0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Obviously getColumns() is the only way to request the column definitions = for a view, as there is no distinct such method explicitly for views. = Sad but true, the field TABLE_TYPE is existing for getTables() and = getTableTypes() but not for getColumns(). Maybe it would be a good idea = to add it to the JDBC spec? Anyways, Thomas apparently is right. Any = tool that wants to learn about the structure of a view has no other = chance than using getColumns(). =20 =20 From: pgsql-jdbc-owner@postgresql.org = [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Dave Cramer Sent: Donnerstag, 15. Oktober 2015 22:48 To: Thomas Kellerer Cc: List; lance.andersen@oracle.com Subject: Re: [JDBC] Release 1204 released =20 So I am looking at the API reference and no where does it say getColumns = should return information about views. =20 That being said the fact that getTables returns the type of the table = there may be some inference that it should ? =20 Lance, do you have some insight here ? Dave Cramer davec@postgresintl.com www.postgresintl.com =20 On 15 October 2015 at 07:10, Dave Cramer wrote: Yes, this looks like it needs to be reverted.... Dave Cramer davec@postgresintl.com www.postgresintl.com =20 On 15 October 2015 at 05:10, Thomas Kellerer wrote: Dave Cramer schrieb am 09.10.2015 um 21:32: > * fix: filter DatabaseMetaData.getColumns by tables PR #386 = (0c95126) Why was this done?