On Tuesday, March 6, 2012 1:55:10 PM UTC-8, Jeremy Evans 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.
>

The support for models was committed yesterday 
(https://github.com/jeremyevans/sequel/commit/02a3f8366963a62628008331bf0611abe9bdc794),
 
and I just committed the other extension for using array 
operators/functions 
(https://github.com/jeremyevans/sequel/commit/5494bcd0585048f3e789b6bf789f3dd29b9336f0).

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/CgIQMp6VBD0J.
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.

Reply via email to