From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Extension to rewrite queries before execution |
Date: | 2015-08-14 16:10:46 |
Message-ID: | 55CE1306.6040905@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 08/14/2015 08:56 AM, Jeff Janes wrote:
> On Thu, Aug 13, 2015 at 2:02 PM, Adrian Klaver
> <adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>> wrote:
>
> On 08/13/2015 12:49 PM, Jeff Janes wrote:
>
> I am looking for an extension or a technique that will allow me to
> intercept a query by the exact query text, and replace that
> query with a
> different one.
>
>
> What is sending the query?
>
> In other words what library is the app using to communicate with the
> Postgres server?
>
>
> I believe it is some ancient version of Hibernate.
> Cheers,
So JDBC.
Don't know how much control you have over the setup, but this looks
interesting:
https://github.com/ttddyy/datasource-proxy
>
> Jeff
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Melvin Davidson | 2015-08-14 16:18:21 | Re: Extension to rewrite queries before execution |
Previous Message | Jeff Janes | 2015-08-14 15:56:59 | Re: Extension to rewrite queries before execution |