Re: named parameters in SQL functions - Mailing list pgsql-hackers

From Greg Stark
Subject Re: named parameters in SQL functions
Date
Msg-id 407d949e0911151044x7cc11f4aq34cba6cf86d21f35@mail.gmail.com
Whole thread Raw
In response to Re: named parameters in SQL functions  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: named parameters in SQL functions
List pgsql-hackers
On Sun, Nov 15, 2009 at 6:42 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> Personally, I like $var, but @var would be okay, and @@var is acceptable. But I'm JAPH, so my biases should be
obvious.
>
> @var or @@var should be a break for people from MySQL. @var are r/w in
> MySQL and @@var are global in T-SQL. So people could be confused.

Besides, do we think MySQL and T-SQL are the heights of good language design?


-- 
greg


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Summary and Plan for Hot Standby
Next
From: Greg Stark
Date:
Subject: Re: named parameters in SQL functions