Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2
Date
Msg-id 20090521224408.GA3488@alvh.no-ip.org
Whole thread Raw
In response to Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2  (Josh Berkus <josh@agliodbs.com>)
Responses Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
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?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Steve Prentice
Date:
Subject: Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v2
Next
From: Gevik Babakhani
Date:
Subject: A humble request