Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tebke-00Eb0z-Tg for pgsql-admin@arkaria.postgresql.org; Sun, 02 Feb 2025 15:19:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tebkd-007YEa-MY for pgsql-admin@arkaria.postgresql.org; Sun, 02 Feb 2025 15:19:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tebkd-007YES-BT for pgsql-admin@lists.postgresql.org; Sun, 02 Feb 2025 15:19:11 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tebka-002sJd-03 for pgsql-admin@lists.postgresql.org; Sun, 02 Feb 2025 15:19:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 512FJ51M351639; Sun, 2 Feb 2025 10:19:05 -0500 From: Tom Lane To: Ron Johnson cc: Edwin UY , Pgsql-admin Subject: Re: Parameter Settings - Instance-Database-Specific In-reply-to: References: Comments: In-reply-to Ron Johnson message dated "Sun, 02 Feb 2025 09:57:06 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <351637.1738509545.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Sun, 02 Feb 2025 10:19:05 -0500 Message-ID: <351638.1738509545@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ron Johnson writes: > On Sun, Feb 2, 2025 at 7:53 AM Edwin UY wrote: >> 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? > What do you get when you run: > SELECT * FROM pg_setting WHERE source = ''database'; > More important, though, is the fact that pg_settings does not have a > "datname" column. Thus, it's values are all global to the instance. More precisely, it shows you the values that prevail at this moment in your own session. You can tell where those values came from via the "source" column, but it won't tell you anything about values that might've been locally overridden. I think psql's "\drds" command might be what Edwin is looking for. >> Is this true for both Aurora PostgreSQL / RDS and non-AWS PostgreSQL? [ shrug... ] Most people on this list only know about community Postgres. You'd have to ask AWS whether Aurora differs in this area. regards, tom lane