Problem
postgres_dba works correctly inside psql. When run inside rpg in interactive mode (e.g. via tmux command injection), the :dba menu can be entered but cannot be exited — the user is stuck.
Steps to reproduce
- Connect to Postgres with rpg in interactive mode
- Trigger the postgres_dba menu (e.g. send
\i path/to/postgres_dba/start.psql or :dba)
- Try to exit the menu
Expected
Behaves identically to psql — menu navigation and exit work correctly.
Actual
Exit does not work; user cannot leave the postgres_dba menu.
Notes
- postgres_dba uses psql meta-commands and \prompt for interactive menus
- Likely a gap in rpg's \prompt or interactive input handling
- Blocking for users who rely on postgres_dba as part of their workflow
- Should be fixed as part of the v0.9.0 psql compatibility push