hstore ==> and deprecate =>

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: hstore ==> and deprecate =>
Date: 2010-06-08 19:07:58
Message-ID: AANLkTikXx21HBpUf-l3JgiEf538uND8LETGYdb5igEBK@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Attachment Content-Type Size
hstore_op.patch application/octet-stream 17.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Amiel 2010-06-08 19:15:28 Re: 3rd time is a charm.....right sibling is not next child crash.
Previous Message Alvaro Herrera 2010-06-08 19:03:40 Re: 3rd time is a charm.....right sibling is not next child crash.