Feature request: Multi host support with target_session_attrs option
Open
- Dominant language
- Python
- Stars
- 485
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
It would be really cool to allow multiple hosts like [with psql/libpq](https://www.postgresql.org/docs/13/libpq-connect.html#LIBPQ-MULTIPLE-HOSTS).
That way we could have connections to HA setups where we use `target_session_attrs` to define either connecting to a read-write host or a read-only host.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start with the linked PostgreSQL libpq multiple-host documentation and locate the existing connection setup entry point; done means supporting multiple hosts and the target_session_attrs choice for read-write or read-only connections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, python
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100