Pavel Stehule <pavel.stehule@gmail.com> writes: > personally I prefer syntax without FOR keyword - because following keyword > must be reserved keyword
> SET x = .., y = .. SELECT ... ;
Nope. Most of the statement-starting keywords are *not* fully reserved; they don't need to be as long as they lead off the statement. But this proposal would break that. We need to put FOR or IN or another already-fully-reserved keyword after the SET list, or something's going to bite us.
Just throwing it out there but can we making putting SET inside a CTE work?