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