• Bruce Momjian's avatar
    As if my JDBC patch hasn't already caused enough grief, there is now a · 339ce34b
    Bruce Momjian authored
    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
    339ce34b
DatabaseMetaData.java 85.3 KB