Re: [HACKERS] Error in new psql - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Error in new psql
Date
Msg-id 199912110013.TAA03470@candle.pha.pa.us
Whole thread Raw
In response to Error in new psql  (wieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] Error in new psql
Re: [HACKERS] Error in new psql
List pgsql-hackers
> Peter,
> 
>     I  just  noticed  that  the new psql doesn't handle semicolon
>     inside of unmatched parentheses correct any more. This  is  a
>     requirement  for defining multi action rules and was properly
>     supported by v6.5.* psql.
> 
>     The CURRENT version submits the query buffer as soon,  as  it
>     encounters  the  first semicolon outside of a string literal,
>     and that is wrong according to the definition of CREATE RULE.

I assume you mean:
test=> select (;) ERROR:  parser: parse error at or near ")"


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] More initdb follies
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] Error in new psql