Re: proposal: disallow operator "=>" and use it for named parameters - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proposal: disallow operator "=>" and use it for named parameters
Date
Msg-id CAFj8pRBZOvebbYHKzqv6-h0HFi04N0wf8HekRL5ztg3do2zHgw@mail.gmail.com
Whole thread Raw
In response to Re: proposal: disallow operator "=>" and use it for named parameters  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers


2015-01-19 14:30 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com>:
Pavel Stehule wrote:

> It looks so quoting doesn't help here
>
> + CREATE OPERATOR "=>" (
> +    leftarg = int8,<--><------>-- right unary
> +    procedure = numeric_fac
> + );
> + ERROR:  syntax error at or near "("
> + LINE 1: CREATE OPERATOR "=>" (
> +                              ^

Does it work to use OPERATOR(=>) syntax?  I don't think identifier
quoting works for operators.

it doesn't work too

 

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Re: Better way of dealing with pgstat wait timeout during buildfarm runs?
Next
From: Stephen Frost
Date:
Subject: Re: WITH CHECK and Column-Level Privileges