public inbox for [email protected]  
help / color / mirror / Atom feed
From: Edwin UY <[email protected]>
To: [email protected]
Subject: Parameter Settings - Instance-Database-Specific
Date: Mon, 3 Feb 2025 01:52:21 +1300
Message-ID: <CA+wokJ-qqgzP5YnsSHkJRZxSxA20BZnWqgJfkuZhJdUDVacQUA@mail.gmail.com> (raw)

Hi,

I have PostgreSQL Instance that has several DBs.
I assume there are instance specific and database specific parameter
settings?
How do I check this? Using the source column of pg_setting?
Is this true for both Aurora PostgreSQL / RDS and non-AWS PostgreSQL?

=> \d pg_settings
               View "pg_catalog.pg_settings"
     Column      |  Type   | Collation | Nullable | Default
-----------------+---------+-----------+----------+---------
 name            | text    |           |          |
 setting         | text    |           |          |
 unit            | text    |           |          |
 category        | text    |           |          |
 short_desc      | text    |           |          |
 extra_desc      | text    |           |          |
 context         | text    |           |          |
 vartype         | text    |           |          |
 source          | text    |           |          |
 min_val         | text    |           |          |
 max_val         | text    |           |          |
 enumvals        | text[]  |           |          |
 boot_val        | text    |           |          |
 reset_val       | text    |           |          |
 sourcefile      | text    |           |          |
 sourceline      | integer |           |          |
 pending_restart | boolean |           |          |


select distinct source from pg_settings ;
       source
--------------------
 client
 configuration file
 default
 database
 override
 command line
(6 rows)


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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Parameter Settings - Instance-Database-Specific
  In-Reply-To: <CA+wokJ-qqgzP5YnsSHkJRZxSxA20BZnWqgJfkuZhJdUDVacQUA@mail.gmail.com>

* 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