From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jan Wieck <wieck(at)debis(dot)com> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Error in new psql |
Date: | 1999-12-11 01:01:08 |
Message-ID: | 199912110101.UAA07765@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > I assume you mean:
> >
> > test=> select (;)
> > ERROR: parser: parse error at or near ")"
>
> Kinda,
>
> actually I meant
>
> CREATE RULE myrule AS ON DELETE TO mytable DO (
> DELETE FROM myothertab1 WHERE key = old.key;
> DELETE FROM myothertab2 WHERE key = old.key;
> );
> ERROR: parser: parse error at or near ""
>
> This is a possible syntax which (IIRC) got released with v6.4
> and is subject to the examples in the rule system
> documentation. The parser still accepts it, so breaking it
> due to changes in psql is an IMHO unacceptable backward
> incompatibility.
OK, I fixed it. Just one addition test in an _if_ statement.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 1999-12-11 01:16:25 | Re: [HACKERS] Error in new psql |
Previous Message | Bruce Momjian | 1999-12-11 00:57:27 | Re: [HACKERS] Error in new psql |