Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2
Дата
Msg-id 4A16B960.3020801@agliodbs.com
обсуждение исходный текст
Ответ на Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On 5/21/09 6:44 PM, Alvaro Herrera wrote:
> Josh Berkus wrote:
>>> The patch adds the "AS" keyword to the plpgsql grammar and doesn't
>>> assign an expression parameter to the sql construct if the scalar
>>> follows the AS keyword.
>> Would it be possible to also support "=" as well as "as"?  I believe
>> that SQL Server uses "=" exclusively, and supporting that syntax would
>> help people port TSQL-based applications.
>
> Would this be best served by implementing PL/TSQL?

Passing variables takes place *outside* of the PL.

-- 
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuhito Kasahara
Дата:
Сообщение: patch for ja.po
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2