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

From Dimitri Fontaine
Subject Re: functional call named notation clashes with SQL feature
Date
Msg-id m24ohrn7e7.fsf@hi-media.com
Whole thread Raw
In response to Re: functional call named notation clashes with SQL feature  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: functional call named notation clashes with SQL feature
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> On 28/05/10 19:19, Josh Berkus wrote:
>> EXEC dbo.GetItemPrice @ItemCode = 'GXKP', @PriceLevel = 5
>
> 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.

I guess it would be a choice of target between 'GXKP' AS ItemCode, 5 AS PriceLevel
and ItemCode := 'GXKP', PriceLevel := 5

By the way, as it seems we're voting, I much prefer := than either the
AS and => variant, and I'm not keen on seeing us deprecate the operator.

Further, as said Andrew, keeping AS conflicting with the standard with
no hysterical raisin to do so would be a bad move IMHO.

Regards,
-- 
dim


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: How to pass around collation information
Next
From: Dimitri Fontaine
Date:
Subject: Re: How to pass around collation information