pgadmin-org / pgadmin-org/pgadmin4
allow new servers to be configued with a connection string
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
Describe the solution you'd like
I use connection strings to define my servers in my application environment (e.g. postgres://scott:tiger@localhost:5432/mydatabase). I would like to be able to paste these strings into the server definition dialog without having to break them into components myself.
Describe alternatives you've considered
At the moment, I end up pasting the connection string into each individual field and then removing all the parts that don't apply to that field. Except for "password" which requires me to paste into somewhere with clear text and remove the non-password parts, then copy/paste the password.
Additional context
This is not the end of the world, but it would be a nice to have. (I'm a bit in disbelief I could not find tickets of any sort for this. Perhaps my search abilities are in decline.)
Contributor guide
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. Start by locating the server definition dialog and its existing field parsing and validation, then determine how a PostgreSQL connection string should populate those fields; done means users can paste the string directly, including credentials, and save a correctly configured server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, python
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100