Pre-connect shell script not working
- Dominant language
- Python
- Stars
- 485
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
## What did you do?
- I set connection favourites for both a localhost (Docker, Postgres 16) and an AWS RDS (Postgres 16, no proxy) server
- When connecting, everything works fine and I can see the database contents
- Then, I tried to enable a Pre-connect shell script on them, but no matter the script or database, the authentication fails. Examples
```shell
#!/bin/bash
cat <
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce on Postico 2.1 dev (9685) on macOS 14.4.1 using both the Docker Postgres 16 and AWS RDS Postgres 16 setups. Compare connections without a pre-connect script against the JSON, PG environment-variable, and hardcoded-password scripts, and use successful authentication as the completion check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, postgresql, shell
- Domain
- authentication, databases, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100