From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | josh(at)agliodbs(dot)com |
Cc: | Michael Paesold <mpaesold(at)gmx(dot)at>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Assignments in PL/pgSQL |
Date: | 2002-09-13 18:04:57 |
Message-ID: | 3D8228C9.5080004@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Josh Berkus wrote:
> I'm very surprised, too. The "=" syntax is not per spec; my guess is,
> somebody coded in compatibility for DB conversion purposes and left it there.
> Jan? Tom?
>
I also noticed this the other day while messing with the plpgsql lexer:
/* ----------
* The keyword rules
* ----------
*/
:= { return K_ASSIGN; }
= { return K_ASSIGN; }
This code goes back to the original scan.l from 1998. I'm guessing it has
always worked, but was never documented -- but I've been known to be wrong
sometimes ;-). Hopefully Jan will chime in.
Joe
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2002-09-13 18:10:27 | Re: Assignments in PL/pgSQL |
Previous Message | Jan Wieck | 2002-09-13 18:04:35 | Re: Assignments in PL/pgSQL |