Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmz1T-0004lC-6c for pgsql-jdbc@arkaria.postgresql.org; Fri, 16 Oct 2015 07:01:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zmz1S-0005sd-Oi for pgsql-jdbc@arkaria.postgresql.org; Fri, 16 Oct 2015 07:01:50 +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 1Zmz1S-0005sV-6D for pgsql-jdbc@postgresql.org; Fri, 16 Oct 2015 07:01:50 +0000 Received: from smtp.procolix.com ([95.215.185.30]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zmz1P-0002GE-CJ for pgsql-jdbc@postgresql.org; Fri, 16 Oct 2015 07:01:48 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.procolix.com (Postfix) with ESMTP id C7CCF43F2B for ; Fri, 16 Oct 2015 09:01:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at smtp.procolix.com Received: from smtp.procolix.com ([127.0.0.1]) by localhost (host436.procolix.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l2HcXx3QtECf for ; Fri, 16 Oct 2015 09:01:26 +0200 (CEST) Received: from webmail.procolix.com (webmail.procolix.com [95.215.185.106]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mark@lawinegevaar.nl) by smtp.procolix.com (Postfix) with ESMTPSA id 6075C43EAB for ; Fri, 16 Oct 2015 09:01:26 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Fri, 16 Oct 2015 09:01:26 +0200 From: Mark Rotteveel To: Subject: Re: Release 1204 released In-Reply-To: References: Message-ID: <51093c12dca2bcd9a042e2cb92b66551@imap.procolix.com> X-Sender: mark@lawinegevaar.nl User-Agent: RoundCube Webmail/0.2 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 On Fri, 16 Oct 2015 08:50:47 +0200, Thomas Kellerer 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