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: 39BE76D9.D61D785B@mhsoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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
follows:

- {"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

Responses

Browse pgsql-patches by date

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