Re: functional call named notation clashes with SQL feature - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: functional call named notation clashes with SQL feature
Date
Msg-id 4BFFFCA5.7060008@enterprisedb.com
Whole thread Raw
In response to Re: functional call named notation clashes with SQL feature  (Josh Berkus <josh@agliodbs.com>)
Responses Re: functional call named notation clashes with SQL feature
List pgsql-hackers
On 28/05/10 19:19, Josh Berkus wrote:
> ( parameter := value ) notation is not only consistent with what is used
> inside pl/pgsql, it's also more consistent than "AS" with SQL Server's
> named parameter notation, which is:
>
> EXEC dbo.GetItemPrice @ItemCode = 'GXKP', @PriceLevel = 5
>
> Since former SQL Server / Sybase apps are the most likely to use named
> parameter notation in PostgreSQL, having a syntax which could be ported
> using only "sed" would be nice.

Once you solve the problem of finding the '='s in the source, replacing 
them is exactly the same effort regardless of what you replace them with.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: How to pass around collation information
Next
From: Andy Balholm
Date:
Subject: Re: [BUGS] dividing money by money