microsoft / microsoft/vscode-pgsql
Support HA Connection Strings
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 395
- Forks
- 33
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 3
Description
Type: Feature Request
Should be able to support HA-style connections strings such as:
PostgreSQL://[user[:password]@[host][:port][,[host][:port]][/dbname][?param1=value1&...]
A concrete example of this is
postgres://testhost1.example.com:5342,testhost2.example.com:5342/postgres&sslmode=require&targetServerType=primary
This is common when using pg_autofailver.
Extension version: 1.4.1
VS Code version: 1.100.0 (19e0f9e681ecb8e5c09d8784acaa601316ca4571, 2025-05-07T12:48:53.763Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the extension currently parses and opens PostgreSQL connection strings, then compare that path with the HA format and pg_autofailover example in the issue. Done means multiple hosts and ports, the database name, and the requested query parameters are accepted for an HA connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, vscode
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100