hstore ==> and deprecate =>

Поиск
Список
Период
Сортировка
От Robert Haas
Тема hstore ==> and deprecate =>
Дата
Msg-id AANLkTikXx21HBpUf-l3JgiEf538uND8LETGYdb5igEBK@mail.gmail.com
обсуждение исходный текст
Ответы Re: hstore ==> and deprecate =>  (Merlin Moncure <mmoncure@gmail.com>)
Re: hstore ==> and deprecate =>  (Greg Stark <gsstark@mit.edu>)
Re: hstore ==> and deprecate =>  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I believe that the consensus was mostly in favor of deprecating => as
an operator name, with the intent to abolish it completely in a future
release.  Attached is a patch to implement ==> as an alternative
operator name for hstore, and to make the backend throw a warning when
=> is used as an operator name.

One wart is that => is used not only as a SQL-level operator, but also
by hstore_in() when interpreting hstore-type literals, and by
hstore_out() when generating them.  My gut feeling is that we should
leave this part alone and only muck with the SQL operator, but perhaps
someone will care to argue the point.

http://archives.postgresql.org/pgsql-hackers/2010-05/msg01501.php

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

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: _bt_parent_deletion_safe() isn't safe
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: hstore ==> and deprecate =>