Re: proposal: disallow operator "=>" and use it for named parameters

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: disallow operator "=>" and use it for named parameters
Date: 2015-03-10 16:32:34
Message-ID: CA+TgmoYH8b6tanF-V5_U1-edbvvB8breGPUXWRQj_8rJbP38LA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 10, 2015 at 11:50 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> On Thu, Feb 19, 2015 at 3:15 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
>>> I am marking this as Ready For Committer, the patch is trivial and works
>>> as expected, there is nothing to be added to it IMHO.
>>>
>>> The "=>" operator was deprecated for several years so it should not be too
>>> controversial either.
>
>> Committed with a few documentation tweaks.
>
> Was there any consideration given to whether ruleutils should start
> printing NamedArgExprs with "=>"? Or do we think that needs to wait?

I have to admit that I didn't consider that. What do you think? I
guess I'd be tentatively in favor of changing that to match, but I
could be convinced otherwise.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-03-10 16:37:19 Re: Precedence of standard comparison operators
Previous Message Alvaro Herrera 2015-03-10 16:29:33 Re: Precedence of standard comparison operators