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

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Matthias Apitz <guru(at)unixarea(dot)de>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: psql's default database on connect (our internal ref. SRP-30861)
Date: 2021-08-06 08:06:39
Message-ID: 20210806080639.GA31227@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ehtesham Pradhan 2021-08-06 09:08:58 TLS 1.0
Previous Message Guillaume Lelarge 2021-08-06 08:01:18 Re: psql's default database on connect (our internal ref. SRP-30861)