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

Feature Request: Support full connection string as extension config var

Open mickmister opened this issue 3 years ago • 2 comments

I'm trying to automate this extension's configuration through its settings, for use in a GitPod workspace https://www.gitpod.io

Right now the settings allow for providing a default connection name and default database, but this is only for things defined by the user using the extension's commands. It can't be hardcoded in the settings alone.

For my user case, the extension needs to be "ready to go" purely with database configuration that's already known ahead of time through the extension settings.

mickmister avatar Sep 05 '22 17:09 mickmister

Same is required in order to support CockroachDB Cloud, as it requires a connection parameter (e.g. connection string is in the form postgresql://username:[email protected]:26257/defaultdb?options=--cluster%3Dgolden-mermaid-3114). It won't let you connect without the cluster identifier.

dvasdekis avatar Nov 18 '22 05:11 dvasdekis

Same for Materialize and anything else that supports PG wire protocol. It would also allow for all the other various PGOPTIONS people might want.

chuck-alt-delete avatar Jun 14 '23 18:06 chuck-alt-delete