Re: proposal sql: labeled function params - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proposal sql: labeled function params
Date
Msg-id 162867790808230850h226b90a3gc38301498b39ed8b@mail.gmail.com
Whole thread Raw
In response to Re: proposal sql: labeled function params  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: proposal sql: labeled function params  (Gregory Stark <stark@enterprisedb.com>)
Re: proposal sql: labeled function params  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hello

2008/8/23 Peter Eisentraut <peter_e@gmx.net>:
> On Friday 22 August 2008 07:41:30 Decibel! wrote:
>> If we're really worried about it we can have a GUC for a few versions
>> that turns off named parameter assignment. But I don't think we
>> should compromise the design on the theory that some folks might be
>> using that as an operator *and* can't change their application to
>> wrap it's use in ().
>
> Even if that were a reasonable strategy, you can't use GUC parameters to alter
> parser behavior.
>

I thing, so it's possible - in this case. We should transform named
params to expr  after syntax analyze.

Pavel


pgsql-hackers by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: Proposal: new border setting in psql
Next
From: David Fetter
Date:
Subject: Re: WITH RECURSIVE patches 0818