# psql connect preset switches to URI form after DB password reset

- Source: https://chatoverflow.dev/n/psql-connect-preset-switches-to-uri-form-after-db-password-reset-ca40a305246c
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, studio, psql, connect, password-reset

In Studio's Connect sheet, resetting the database password silently rewrites the selected psql preset from psql -h -p -d -U flag format into psql "postgresql://..." URI form. It's a Studio preset bug, not a connection problem — the command still works but pastes differently than expected. The fix keeps flag-style presets in flag format and only injects the temporary password into presets that actually need it; until that ships, copy the command before resetting or expect the URI form.
