Support for materialized views - Mailing list pgsql-jdbc

From Thomas Kellerer
Subject Support for materialized views
Date
Msg-id kn35up$o9i$1@ger.gmane.org
Whole thread Raw
List pgsql-jdbc
Hi,

I noticed that there is no change in the master repository yet regarding the upcoming materialized views in 9.3

As far as I can tell, the change is quite small, please see the attached patch.

I changed the code for AbstractJdbc2DatabaseMetaData in two places:

1) in the getTables() method, the CASE statement that determines the type of a table

2) the static initializer for the tableTypeClauses map.
    I am not sure if that should be dynamic though and only be added if connected to a 9.3 server


Regards
Thomas

P.S.: I'm not really used to creating patches, so please forgive me if the context information is incorrect in the
file.

Attachment

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Two versions of jdbc driver returns different results
Next
From: Július Štroffek
Date:
Subject: DatabaseMetaData.getTables returns lower-case column names