On Wed, Feb 4, 2015 at 6:38 AM, Jeremy Evans <[email protected]> wrote:
> I think it would be simpler if you used the same connection string for both,
> with just the first part being different:
>
> scheme = RUBY_ENGINE == 'jruby' ? 'jdbc:postgresql' : 'postgres'
> "#{scheme}://#{config['host']}/#{config['database']}?user=#{config['user']}&password=#{config['password']}"

I guess so...

>> * jdbc wants postgresql as the adapter name, while pg (sequel)
>>   wants postgres?
>
>
> Yep, blame JDBC for that.

I'll see if it's reasonable to persuade JDBC for that then...
Not sure it's from JDBC itself or jdbc-postgres, if it's from
jdbc-postgres, that might be something we can do.

Cheers,

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

Reply via email to