Skip site navigation (1) Skip section navigation (2)

JDBC Patch - Take 2

From: Christopher Cain <ccain(at)mhsoftware(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: JDBC Patch - Take 2
Date: 2000-09-12 18:32:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
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

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

I'm not including a full-on patch because I'm not sure what the cvs
status of my original patch is (or if Peter just wants to roll it in
with some other fixes), but I would be glad to whip one up if you like.
Just let me know if I need to diff against the original code or my
intial patch.

Also, I apologize for the cross-post on the initial patch and subsequent
cvs issue. In the future, I will send any JDBC patches to the JDBC list
and let the indefatigable Peter sort it out :)

- Christopher


pgsql-patches by date

Next:From: Bruce MomjianDate: 2000-09-12 18:56:14
Subject: Re: JDBC Patch - Take 2
Previous:From: Bruce MomjianDate: 2000-09-12 17:08:22
Subject: Re: Patch to make postmaster bind to only to localhost.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group