Re: query manipulation

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Randall Smith <randall(at)tnr(dot)cc>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: query manipulation
Date: 2007-03-19 20:37:31
Message-ID: DD57BABC-5E3B-46EB-B5C7-A6AA78350279@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Randall,

Yeah, you would have to wrap the jdbc driver with a proxy driver.
It's not that hard to write one.

Dave
On 19-Mar-07, at 4:19 PM, Randall Smith wrote:

> I'm trying to find a way to manipulate some poorly written queries
> in which I don't have access to the application source. I can't do
> it at the Postgresql server, so I'm thinking of attacking it at the
> jdbc driver.
>
> I was thinking of a wrapper that would look at and alter the SQL
> before it went to the server. Anyone know of something like this?
> Specifically, I'm trying to drop "FOR UPDATE column name" off of
> some queries. They were written for Oracle, but Postgresql uses
> "FOR UPDATE table name". I'm not a Java programmer, but I won't
> let that stop me if it is required.
>
> Randall
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mark Lewis 2007-03-19 21:27:52 Re: query manipulation
Previous Message Randall Smith 2007-03-19 20:35:02 Re: query manipulation