On Tue, Mar 6, 2012 at 1:55 PM, Jeremy Evans <[email protected]> wrote: > I've added a pg_array extension to Sequel with pretty decent support for > PostgreSQL string/numeric arrays: > https://github.com/jeremyevans/sequel/commit/dc25a56e342cde055bac9da209bf731e58742d11 > > There is still a bit more work necessary to easily use PostgreSQL arrays > with models, but this at least makes it easy for datasets. Unlike the > sequel_column_type_array extension, this supports more types of arrays, as > well as multi-dimensional arrays. As far as I know, it's the only ruby > parser that supports multi-dimensional string arrays. The string array > parser is probably fairly slow, I may add a ragel-based parser to sequel_pg > later if people are finding it to be a bottleneck (send ruby-prof output > with your request). > > Anyway, if you are a PostgreSQL array user, please give this new extension a > shot. I'll be expanding on it to make it work nicely with models, and > probably add another extension that makes it possible to use array operators > without dropping to literal SQL. > > Thanks, > Jeremy >
fantastic! now that hstore is a proper extension in 9.1, i'd love to revisit the work i did on that and get it merged in. i'll try and make some time on thursday to talk. -p -- Peter van Hardenberg San Francisco, California "Everything was beautiful, and nothing hurt." -- Kurt Vonnegut -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
