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

Re: latest hstore patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: david(at)kineticode(dot)com ("David E(dot) Wheeler"), pgsql-hackers(at)postgresql(dot)org
Subject: Re: latest hstore patch
Date: 2009-09-29 22:56:02
Message-ID: 18279.1254264962@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
[ starting to look at this now... ]

Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:
> "David" == "David E Wheeler" <david(at)kineticode(dot)com> writes:
>  David> * More name stuff: Why `hstore_to_list` rather than
>  David> `hstore_to_array`?  And I'm not sure about `hstore_to_matrix`
>  David> for the 2-dimensional array.  I guess that's better than
>  David> `hstore_to_multidimensional_array` would be. ;-)

> I intentionally avoided hstore_to_array because it would be unclear
> which one it meant (the 1-d or 2-d result).

hstore_to_list seems like a pretty horrible name though for something
that produces an array.  I also note that "array" means "1-D array"
according to no less an authority than the SQL standard ;-).  I think
we could live with hstore_to_array and hstore_to_matrix.  Thoughts,
other ideas?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Andrew GierthDate: 2009-09-29 23:11:53
Subject: Re: latest hstore patch
Previous:From: Alvaro HerreraDate: 2009-09-29 22:50:52
Subject: Re: Unicode UTF-8 table formatting for psql text output

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