David E. Wheeler wrote:
On Jun 8, 2008, at 21:16, Greg Sabino Mullane wrote:
Don't think so. (tests...) Nope. It doesn't create a composite type
in the pg_class table, for one thing. I'll put looking into it on
the todo though.
Thanks. Personally, I'd love to see a hash data type in core, but this
would go a long way toward making it easier to use the existing contrib
module.
More generally speaking, if you could store table values as table fields,
or row values as table fields, that would provide a lot of flexibility and
power. A Perl Hash data type could then be represented by a 2-column table
with a unique key on one of the columns. The array type could also be
generalized into this as a 2-column table where one column is an integer
with a key on it. -- Darren Duncan