Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails - Mailing list pgsql-jdbc

From Michael Paesold
Subject Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails
Date
Msg-id 4545B34A.6050001@gmx.at
Whole thread Raw
In response to Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement  (Kris Jurka <books@ejurka.com>)
Responses Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails
List pgsql-jdbc
Kris Jurka wrote:
> On Fri, 6 Oct 2006, Michael Paesold wrote:
>
>> I thought I'd keep you posted on my progress. Here is an updated
>> work-in-progress patch implementing dollar-quotes, -- and /* */ quotes
>> (also with SQL compliant nesting, i.e. /* /* */ */). It replaces my
>> last one.
>
> This looks good to me.  Have you done anything further?

Yeah, I have started extracting the code for parsing specific parts of the
query (single-quotes, dollar-quotes, comments, etc.) into a separate class
so the code can be reused in the V2Query code. I was also looking at
supporting standard_conforming_strings as a patch on top of that work.

> Sharing would be good, but I agree there's no easy way for that to
> work.  Copying should be OK.

We will see shortly, if it works. I am going to post a new patch in the
next two days. Soon enough?

Best Regards
Michael Paesold

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement
Next
From: afgag@metroweb.co.za
Date:
Subject: Problems changing password through JDBC