agora inbox for pgsql-admin@postgresql.org
help / color / mirror / Atom feedFrom: Álvaro Herrera <alvherre@alvh.no-ip.org>
To: Fabrice Chapuis <fabrice636861@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: rolconfig and datconfig
Date: Thu, 13 Feb 2025 14:19:38 +0100
Message-ID: <202502131319.5cbc7row4hok@alvherre.pgsql> (raw)
In-Reply-To: <CAA5-nLAmsJ9ySq7+tEn8tX0Udt-yqEC2D_Ls6nv+=Ts4s=J3dg@mail.gmail.com>
Hello
On 2025-Feb-13, Fabrice Chapuis wrote:
> il we need to consult the options for a specific role, we can find that
> information in the pg_roles table. But options for a database is not in
> pg_database, there is no field datconfig. Is there a reason for that?
Yeah, options are stored separately to support having options that vary
per user and per database. See \drds, especially under psql -E.
--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"No renuncies a nada. No te aferres a nada."
view thread (3+ messages)
Message-ID: <202502131319.5cbc7row4hok@alvherre.pgsql>
Permalink: ../202502131319.5cbc7row4hok@alvherre.pgsql/
Also on: postgresql.org/message-id/202502131319.5cbc7row4hok@alvherre.pgsql
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: alvherre@alvh.no-ip.org, fabrice636861@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: rolconfig and datconfig
In-Reply-To: <202502131319.5cbc7row4hok@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox