Hey,
I have been having this issue where even though I explicitly provide a 
sharding server, the query runs on default server.

The connection object looks like :
obj = #<Sequel::JDBC::Database: 
"jdbc:postgresql://host1:5432/db?user=xxx&password=xyz" 
{:servers=>{0=>"jdbc:postgresql://host1:5432/db?user=xxx&password=xyz", 
1=>"jdbc:postgresql://host2:5432/db?user=xxx&password=xyz"}}>

The query being run :
obj.copy_into(table_name, data: some_data), server: 1)

Can anyone let me know what's wrong in this?

Thanks.

-- 
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 https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to