Re: hstore ==> and deprecate => - Mailing list pgsql-hackers

From Robert Haas
Subject Re: hstore ==> and deprecate =>
Date
Msg-id AANLkTiliUJprffFVZfwxGZX0bAO6DnfgFrc0YNHyr75G@mail.gmail.com
Whole thread Raw
In response to Re: hstore ==> and deprecate =>  (Josh Berkus <josh@agliodbs.com>)
Responses Re: hstore ==> and deprecate =>  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Thu, Jun 17, 2010 at 4:39 PM, Josh Berkus <josh@agliodbs.com> wrote:
>
>> Since there are no other votes for that option (or, indeed, any other
>> option), I'm going to go with my original instinct and change hstore
>> => text[] to hstore & text[].  Patch to do that is attached.
>
> If what that operator is doing is appending an array of text to an
> Hstore, shouldn't we use || instead?

It isn't.  || already does what you're saying.

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


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: hstore ==> and deprecate =>
Next
From: Josh Berkus
Date:
Subject: Re: hstore ==> and deprecate =>