microsoft / microsoft/vscode-pgsql
Ability to configure the start (initial) SQL command for DB connections
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 395
- Forks
- 33
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 3
Description
Sometimes it is very practical to define a "start SQL command" for the DB connection, which each connection will execute immediately after connection is established.
This can be, for example:
- setting up a search path to schemas (so that existing SQL queries from the project in the IDE, that count on this search path, work at all).
- or it can be a special internal "session login" (function call) to the DB, so that other existing plPgSQL functions will work correctly, etc.
- etc...
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
No files, tests, or entry points are named in the issue. Start by locating the PostgreSQL connection setup and existing connection configuration, then determine where a configurable command could run immediately after each connection is established. Done means users can provide a start SQL command and it executes for every new connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100