Re: psql's default database on connect (our internal ref. SRP-30861) - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: psql's default database on connect (our internal ref. SRP-30861)
Date
Msg-id 20210806080639.GA31227@depesz.com
Whole thread Raw
In response to psql's default database on connect (our internal ref. SRP-30861)  (Matthias Apitz <guru@unixarea.de>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: psql's default database on connect (our internal ref. SRP-30861)
Next
From: Ehtesham Pradhan
Date:
Subject: TLS 1.0