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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: proposal: disallow operator "=>" and use it for named parameters
Дата
Msg-id 20150119133011.GI1663@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: proposal: disallow operator "=>" and use it for named parameters  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal: disallow operator "=>" and use it for named parameters  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
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.

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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: proposal: disallow operator "=>" and use it for named parameters
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Additional role attributes && superuser review