On Saturday, August 27, 2016 at 12:29:02 AM UTC-7, William Dias wrote: > > Hi there, > > It seems that Sequel does not support sslmode=verify-full. I'm trying to > pass the certificate location using sslrootcert param, but pg keeps > trying to load the file from ~/.postgresql/root.crt. Any suggestion on > how to solve this? > > Thanks! >
I think you can currently do this using environment variables such as PGSSLROOTCERT (see https://www.postgresql.org/docs/9.5/static/libpq-envars.html). However, I agree a way to do it via the API would be better. We should probably add a connection option in the postgres adapter that accepts a hash that is merged into the connection options passed to pg's connect method. I'll try to work on that before next week's release. 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 sequel-talk+unsubscr...@googlegroups.com. To post to this group, send email to sequel-talk@googlegroups.com. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.