pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Jolly Chen <jolly@gauntletsystems.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: semicolons separating statements in a rule action body
Date: Sat, 5 Nov 2005 04:31:20 -0500 (EST)
Message-ID: <Pine.BSO.4.61.0511050430120.912@leary.csoft.net> (raw)
In-Reply-To: <8B827CA7-F423-4073-828C-A84C0338EA53@gauntletsystems.com>
References: <8B827CA7-F423-4073-828C-A84C0338EA53@gauntletsystems.com>



On Wed, 2 Nov 2005, Jolly Chen wrote:

> using jdbc-8.0-313 against 8.0.4,
>
> the driver gets confused when parsing rule definition statements with 
> embedded semicolons such as :
>
> "create rule r1 as on insert to foo do (delete from bar; insert into bar 
> select * from foo; );  "
>
> the following patch shows a possible quick fix for

Patch applied to 8.0 and head cvs branches.  For future reference we 
prefer context diffs (diff -c) patches.

Kris Jurka



view thread (2+ messages)

Message-ID: <Pine.BSO.4.61.0511050430120.912@leary.csoft.net>
Permalink:  ../Pine.BSO.4.61.0511050430120.912@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.61.0511050430120.912@leary.csoft.net

 · 

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: books@ejurka.com, jolly@gauntletsystems.com
  Subject: Re: semicolons separating statements in a rule action body
  In-Reply-To: <Pine.BSO.4.61.0511050430120.912@leary.csoft.net>
  References: <8B827CA7-F423-4073-828C-A84C0338EA53@gauntletsystems.com> <Pine.BSO.4.61.0511050430120.912@leary.csoft.net>

* 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