Re: WIP: Enhanced ALTER OPERATOR

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP: Enhanced ALTER OPERATOR
Дата
Msg-id 1254.1432147454@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WIP: Enhanced ALTER OPERATOR  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Uriy Zhuravlev wrote:
>> And can you explain more about the syntax?

> I think he means to treat COMMUTATOR etc like a generic element list,
> i.e. don't define new keywords in kwlist.h/gram.y at all but rather pass
> the names as strings (probably using a list of DefElem) and strcmp()
> them in OperatorUpd() or something.

Yeah.  If they aren't keywords in CREATE OPERATOR, I don't think they
should be in ALTER OPERATOR either.  Indeed, the syntax of the two
commands probably ought to be similar.
        regards, tom lane



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

Предыдущее
От: Ryan Pedela
Дата:
Сообщение: Re: jsonb concatenate operator's semantics seem questionable
Следующее
От: Andres Freund
Дата:
Сообщение: Re: WIP: Enhanced ALTER OPERATOR