pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Matthias Apitz <guru@unixarea.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: psql's default database on connect (our internal ref. SRP-30861)
Date: Fri, 6 Aug 2021 10:06:39 +0200
Message-ID: <20210806080639.GA31227@depesz.com> (raw)
In-Reply-To: <YQzcYh1tAdp72LIZ@c720-r368166>
References: <YQzcYh1tAdp72LIZ@c720-r368166>

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





view thread (9+ messages)  latest in thread

Message-ID: <20210806080639.GA31227@depesz.com>
Permalink:  ../20210806080639.GA31227@depesz.com/
Also on:    postgresql.org/message-id/20210806080639.GA31227@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: depesz@depesz.com, guru@unixarea.de
  Subject: Re: psql's default database on connect (our internal ref. SRP-30861)
  In-Reply-To: <20210806080639.GA31227@depesz.com>
  References: <YQzcYh1tAdp72LIZ@c720-r368166> <20210806080639.GA31227@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox