Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 9BE3B9FA5DC for ; Mon, 30 Oct 2006 04:09:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 54173-08 for ; Mon, 30 Oct 2006 08:09:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 298A59FA430 for ; Mon, 30 Oct 2006 04:09:50 -0400 (AST) Received: (qmail invoked by alias); 30 Oct 2006 08:09:48 -0000 Received: from 85-125-150-72.dynamic.xdsl-line.inode.at (EHLO [192.168.1.16]) [85.125.150.72] by mail.gmx.net (mp003) with SMTP; 30 Oct 2006 09:09:48 +0100 X-Authenticated: #1946847 Message-ID: <4545B34A.6050001@gmx.at> Date: Mon, 30 Oct 2006 09:09:46 +0100 From: Michael Paesold User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Kris Jurka CC: pgsql-jdbc@postgresql.org, Dave Cramer , Tom Lane Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails References: <53F8133C991FEC4BA0872D19BAD9694C3B6A70@ADV-SBS.advestigo.loc> <451BAE61.6070802@gmx.at> <11DE4B3E-F76F-42C8-A5A6-2C63E14458AD@fastcrypt.com> <451EBBCF.1030902@gmx.at> <451FC6CD.6060904@gmx.at> <4522DA56.4070105@gmx.at> <4526085F.5030604@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/130 X-Sequence-Number: 16013 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