Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request / Issue: Allow to connect with SSL #3

Open
leonelgalan opened this issue Mar 20, 2017 · 2 comments
Open

Feature Request / Issue: Allow to connect with SSL #3

leonelgalan opened this issue Mar 20, 2017 · 2 comments

Comments

@leonelgalan
Copy link

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
@dankeder
Copy link
Owner

Hi, thanks for the report. I added support for SSL/TLS database connections -- -s or --tls.

@dankeder
Copy link
Owner

I'll leave this open for the time being, I might implement the connection URLs/DSN support later. Thanks for the suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants