Parameter Settings - Instance-Database-Specific

From: Edwin UY <edwin(dot)uy(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Parameter Settings - Instance-Database-Specific
Date: 2025-02-02 12:52:21
Message-ID: CA+wokJ-qqgzP5YnsSHkJRZxSxA20BZnWqgJfkuZhJdUDVacQUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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)

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ron Johnson 2025-02-02 14:57:06 Re: Parameter Settings - Instance-Database-Specific
Previous Message Laurenz Albe 2025-02-02 08:14:11 Re: Backup Issue for pg_basebackup