>>>>> "David" == "David E Wheeler" <da...@kineticode.com> writes:

 David> Just a few thoughts for discussion:

 David> * From my previous posts: Is it time to kill off `...@` and `~`,?
 David> Not necessarily for your patch to handle, just wondering what
 David> others think.

I'll take them out if people think that is appropriate.

 David> * I like the %% operator for converting to arrays. Though I
 David> think maybe I would have liked %@ better, but maybe that's
 David> just the Perl hacker in me.

I originally tried just % but something in the grammar stops you using
that for a unary op.

 David> * I also like the new %# operator to convert to
 David> two-dimensional arrays. But if you adopted %@ for arrays,
 David> maybe %@@ better indicates a 2-dimensional array? I'm just
 David> thinking out lout here, I'm happy to have them no matter what
 David> they're called.

%@@ is a bit on the ugly side for an operator I think.

 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).

-- 
Andrew (irc:RhodiumToad)

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to