On Apr 29, 2014, at 10:02 , Jeremy Evans <[email protected]> wrote:
> You shouldn't need to do that. Just:
>
> DB = Sequel.connect(...)
> DB.extension :pg_hstore
> Sequel.extension :pg_hstore_ops
Well, still, one must put the DB.extension part AFTER one defines DB, mustn't
one? I know, obvious once I got the error message. {chuckle}
> Starting with PostgreSQL 9.4, the jsonb type exists, which is more flexible
> than hstore while still being able to be indexed, and unlike hstore, it is a
> core type instead of an extension. So after you upgrade to PostgreSQL 9.4,
> you'll probably want to convert your hstore type to a jsonb type.
Oh, you're killing me here. I would swear I *just* upgraded to 9.1 from 8.4.
What Sequel could really use is a cookbook. "If you want to do X, you can get
there in Sequel by doing these things." I know I've leafed through such things
before and said "Oh! Yea, I DO want to do X! I hadn't even considered that as
an option, but of course I want to do that."
It'd help if both Postgres and Sequel weren't such moving targets, but somehow,
I don't think "Stop improving things!" is going to get a lot of sympathy.
{smile}
This isn't a passive-aggressive request for *you* to write a cookbook, by the
way. I can't imagine where you find the time to maintain the knowledge you need
to keep Sequel itself working as well as it does, never mind answering
questions. Just wishing out loud.
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.