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 1uHjbf-008VGM-9k for pgsql-sql@arkaria.postgresql.org; Wed, 21 May 2025 13:35:39 +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 1uHjbd-006zJn-0R for pgsql-sql@arkaria.postgresql.org; Wed, 21 May 2025 13:35:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uHjbc-006zJf-NQ for pgsql-sql@lists.postgresql.org; Wed, 21 May 2025 13:35:36 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uHjba-00098T-0z for pgsql-sql@lists.postgresql.org; Wed, 21 May 2025 13:35:35 +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 54LDZXhQ1212645; Wed, 21 May 2025 09:35:33 -0400 From: Tom Lane To: Manav Kumar cc: pgsql-sql@lists.postgresql.org Subject: Re: Confirming precedence order of Default for GUCs In-reply-to: References: Comments: In-reply-to Manav Kumar message dated "Wed, 21 May 2025 13:36:56 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1212643.1747834533.1@sss.pgh.pa.us> Date: Wed, 21 May 2025 09:35:33 -0400 Message-ID: <1212644.1747834533@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Manav Kumar writes: > Can you please correct me regarding the precedence order of overriding the > DEFAULT values for GUC's. The precedence order is determined by the GucSource enum: https://github.com/postgres/postgres/blob/master/src/include/utils/guc.h#L111 regards, tom lane