| От | Joe Conway |
|---|---|
| Тема | Re: Assignments in PL/pgSQL |
| Дата | |
| Msg-id | 3D8228C9.5080004@joeconway.com обсуждение исходный текст |
| Ответ на | Re: DISTINCT ON ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>) |
| Список | 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
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера