pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paesold <mpaesold@gmx.at>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails
Date: Mon, 30 Oct 2006 09:09:46 +0100
Message-ID: <4545B34A.6050001@gmx.at> (raw)
In-Reply-To: <Pine.BSO.4.63.0610300136580.17615@leary2.csoft.net>
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>
	<Pine.BSO.4.63.0610031655110.31844@leary2.csoft.net>
	<4526085F.5030604@gmx.at>
	<Pine.BSO.4.63.0610300136580.17615@leary2.csoft.net>

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



view thread (20+ messages)  latest in thread

Message-ID: <4545B34A.6050001@gmx.at>
Permalink:  ../4545B34A.6050001@gmx.at/
Also on:    postgresql.org/message-id/4545B34A.6050001@gmx.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mpaesold@gmx.at, books@ejurka.com, pg@fastcrypt.com, tgl@sss.pgh.pa.us
  Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails
  In-Reply-To: <4545B34A.6050001@gmx.at>
  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> <Pine.BSO.4.63.0610031655110.31844@leary2.csoft.net> <4526085F.5030604@gmx.at> <Pine.BSO.4.63.0610300136580.17615@leary2.csoft.net> <4545B34A.6050001@gmx.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox