Debug a database error without pasting the password
Your task
Your script cannot connect to your company's Postgres database, and you want help from an AI chat assistant. The error output and the connection code both contain the full connection string: postgres://app:Sup3rSecret@prod-db.internal:5432/orders. You are about to paste all of it into the chat.
What is wrong with pasting it, and what do you paste instead?
It covers
- Secrets hygiene
- Context safety