Re: latest hstore patch

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: david(at)kineticode(dot)com ("David E(dot) Wheeler"), tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane), pgsql-hackers(at)postgresql(dot)org
Subject: Re: latest hstore patch
Date: 2009-09-30 00:00:25
Message-ID: 87ske5cndy.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "David" == "David E Wheeler" <david(at)kineticode(dot)com> writes:

>> I don't feel particularly strongly about the name (I've also
>> intentionally held off on updating the pgfoundry version of the
>> code until this is settled so no-one else should care either).

David> I'm down with hstore_to_array() and hstore_to_matrix().

>> My own expectation is that the operator should normally be used in
>> preference (though obviously people's tastes will vary in this
>> respect).

David> Sure. But I realized that I forgot to ask for
David> array_to_hstore() and matrix_to_hstore(). :-) Would love to
David> have those, too. Not sure about the operators…

hstore(text[]) (which is also present as an explicit cast) covers both
of those cases since it can figure out from the array dimensions which
is intended.

--
Andrew (irc:RhodiumToad)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2009-09-30 00:32:08 Re: latest hstore patch
Previous Message David E. Wheeler 2009-09-29 23:45:44 Re: latest hstore patch