mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

Added new PostgreSQL auth method using env vars #107

Closed tkopets closed 7 years ago

tkopets commented 7 years ago

Two new dict options under cli_options[type] are added in settings:

Default settings file is updated to support this new functionality.

Implementation for #106

tkopets commented 7 years ago

One more related thing to do is to update the comments in default (template) Connections file and mention this new functionality. Will push one more commit to this PR with above changes shortly.

tkopets commented 7 years ago

@mtxr Does this look the right way to implement #106 to you?

mtxr commented 7 years ago

Yeah, it's perfect. Later we adopt some approach for the other SGDBs, but for now, PostgreSQL already have an alternative 🥇 !

Just please, update the docs at branch gh-pages later, ok?

mtxr commented 7 years ago

Btw, you are doing a great job @tkopets . Thank you very much for your help 😄 !

I'm a quite busy right now, but I'll be back fully recharged soon

tkopets commented 7 years ago

Thanks @mtxr, I'm more than happy to be able to contribute to this awesome project!

I've reviewed both readme and gh-pages and we need only a minor change there - will make those changes shortly. By the way, this environment variables code can be universally applied to all supported RDBMS, so if we ever need to set some environment variables for those other RDBMS's for some reason - just add an env or env_optional section in settings file.