Re: Initial review of xslt with no limits patch - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Initial review of xslt with no limits patch
Date
Msg-id 33BF86D1-F03E-4B48-AD30-8302749E6D6F@kineticode.com
Whole thread Raw
In response to Re: Initial review of xslt with no limits patch  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Initial review of xslt with no limits patch
List pgsql-hackers
On Aug 6, 2010, at 2:12 PM, Pavel Stehule wrote:

>> SELECT foo('this' ~> 'that', 1 ~> 4);
>>
>> Not bad, I think. I kind of like it. It reminds me how much I hate the % hstore construction operator, though (the
newname for =>). 
>
> so there is only small step to proposed feature
>
> SELECT foo(this := 'that', "1" := 4)
>
> there is only one difference (but you cannot implement it now)
> * notation for key is same like for sql identifier - why: I would to
> clearly identify key and value. When I use a custom operator - like
> you did, it depends on implementation what is key, what is value. When
> you use a SQL identifier's notation for key, you can't to do a error

Sorry, not following you here…

David



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: MERGE Specification
Next
From: Tom Lane
Date:
Subject: Re: gincostestimate