pg_dump_sample
pg_dump_sample copied to clipboard
Feature Request / Issue: Allow to connect with SSL
I've seen the SSL: false, in the code, but didn't know if this was there for a reason. Popular services like Heroku Postgres, will only allow to connect through SSL.
In the vein of these services, it will be great to allow pg_dump_sample to read the credentials from a connection info string or a connection url:
Connection info string:
"dbname=mydbname host=myhost port=myport user=myuserpassword=mypassword sslmode=require"
Connection URL:
postgres://myuser:mypassword@myhost:myport/mydbname
Hi, thanks for the report. I added support for SSL/TLS database connections -- -s or --tls.
I'll leave this open for the time being, I might implement the connection URLs/DSN support later. Thanks for the suggestions.