Skip site navigation (1) Skip section navigation (2)

Re: hstore ==> and deprecate =>

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Josh Berkus <josh(at)agliodbs(dot)com>, Florian Pflug <fgp(at)phlo(dot)org>, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Michael Glaesemann <grzm(at)seespotcode(dot)net>, Merlin Moncure <mmoncure(at)gmail(dot)com>
Subject: Re: hstore ==> and deprecate =>
Date: 2010-07-02 18:39:23
Message-ID: 828ECF3E-3790-4921-BBCF-2FFEC7DC5003@kineticode.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Jul 2, 2010, at 10:07 AM, Robert Haas wrote:

>>> Yeah, I think the consensus is to avoid picking an operator name at all.
>>> "slice()" is OK by me.
>> 
>> Will this be done for Beta 3?
> 
> You forgot to attach the patch.  :-)

Attached.

Only thing that gave me pause is the presence of the undocumented `slice_array()` function, which is used by the `->` operator. I think I might like to see it renamed `avals(hstore, text[])` if it ever gets documented, as it nicely complements the existing `avals(hstore)` function.

Best,

David



Attachment: hstore_slice.patch
Description: application/octet-stream (8.0 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-07-02 20:11:35
Subject: Re: Keepalive for max_standby_delay
Previous:From: Robert HaasDate: 2010-07-02 17:07:21
Subject: Re: hstore ==> and deprecate =>

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group