Re: [HACKERS] Error in new psql

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <wieck(at)debis(dot)com>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Error in new psql
Date: 1999-12-11 00:13:53
Message-ID: 199912110013.TAA03470@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 1999-12-11 00:20:27 Re: [HACKERS] Multibyte in autoconf
Previous Message Jan Wieck 1999-12-10 23:27:54 Error in new psql