On Fri, Aug 06, 2021 at 08:53:22AM +0200, Matthias Apitz wrote: > What do I uderstand wrong? Please check https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS Specifically: > dbname : The database name. Defaults to be the same as the user name. > In certain contexts, the value is checked for extended > formats; see Section 33.1.1 for more details on those. > user : PostgreSQL user name to connect as. Defaults to be the same > as the operating system name of the user running the > application. depesz