On Friday, May 6, 2016 at 12:42:09 PM UTC-7, Adrian Madrid wrote:
>
> You're right. I'm getting this error now but I'm not sure if 
>
> /usr/local/var/rbenv/versions/2.2.2/bin/ruby -e 
> $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) 
> /Users/aemadrid/code/aem/cockroachdb/test/test.rb
>
> conn_str : 
> postgresql://root@localhost:36350/bank?sslmode=disable&force_standard_strings=f&client_min_messages=
>
> DB : (Sequel::Postgres::Database) #<Sequel::Postgres::Database: 
> "postgresql://root@localhost:36350/bank?sslmode=disable&force_standard_strings=f&client_min_messages=">
>
> /usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sequel-4.34.0/lib/sequel/adapters/postgres.rb:186:in
>  
> `async_exec': PG::InternalError: ERROR:  unknown variable: "DATESTYLE" 
> (Sequel::DatabaseConnectionError)
>

Try adding &use_iso_date_format=f to the connection URL.

Thanks,
Jeremy

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