Diagnostic step 1
From the application host, run psql -h <host> -p <port> -U <user> -d <db> --no-password (or PGPASSWORD set) and capture the exact server banner: SELECT version(), pg_settings.setting FROM pg_settings WHERE name='data_directory'; Result meaning: If you can connect as a superuser, these values identify the specific cluster. If psql fails with same error, you're likely hitting the same server the app hits and the role is missing there.