vscode-postgres icon indicating copy to clipboard operation
vscode-postgres copied to clipboard

Add ssl mode prompt.

Open lvegerano opened this issue 6 years ago • 2 comments

Augments the changes to Borvik/vscode-postgres#35.

It essentially allow you to set the connection ssl mode.

lvegerano avatar Jul 23 '18 16:07 lvegerano

Setting the "defaults" seems iffy to me. That might affect other connections. I was thinking of trying to set connectionOptions.ssl to boolean true, and if there was a file then an object with the file details like normal. Some research leads me to think that will probably work. I also might tweak the add connection steps, so that the cert choice only is asked if ssl was selected.

Borvik avatar Jul 25 '18 10:07 Borvik

You may be right that this may affect other connections. I really did not tested another db connection. I was under the assumption that each connection has a new instance of pg. I will test this out.

lvegerano avatar Jul 25 '18 14:07 lvegerano