]> granicus.if.org Git - postgresql/commit
As if my JDBC patch hasn't already caused enough grief, there is now a
authorBruce Momjian <bruce@momjian.us>
Tue, 12 Sep 2000 18:56:04 +0000 (18:56 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 12 Sep 2000 18:56:04 +0000 (18:56 +0000)
commit339ce34b87ffeb0b4025b14b1806686b89ae292d
treeea6e4ae36b6970c7f35c3f515fed7ad73e858cd9
parentcdc7170ebe45f4eec35791a73f75b43f606b8fb1
As if my JDBC patch hasn't already caused enough grief, there is now a
one-line change necessary. Due to the Mark Holloman "New Relkind for
Views" patch, my support for views in the driver will need to be updated
to match. The change to DatabaseMetaData.getTableTypes[][] is as
follows:

-    {"VIEW",           "(relkind='r' and relhasrules='t' and relname !~
'^pg_' and relname !~ '^xinv')"},
+    {"VIEW",           "(relkind='v' and relname !~ '^pg_' and relname
!~ '^xinv')"},

Christopher Cain
src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java