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 1tYon3-00FYgi-Nv for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2025 16:01:46 +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 1tYon2-001HAC-C6 for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2025 16:01:44 +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 1tYon2-001HA4-2s for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2025 16:01:44 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tYomz-0002oS-2N for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2025 16:01:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2025010100; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=MhSn1u7MdJ//Zc8bg6xD2dT45V5ea3xsvBdT1qD8NS4=; b=Q2Dn+97MToslem7g5VqtsO6Hw7 t6n6dCBeEiOAqdzI6WqCYmJtx+b9nZWw56o5nwlVorafb3dJ+bFaYxt++7VzJJSVg96FDFGS57g+Z MJteyJ5wD18ZsKHnhj+M9RJJAIGLlQp1y3FLOvV8VP0LdQXkij79uZe0Fn7QsOSXwXgeDgAdiht3t FhIC1lPvm+Q3xy/GI8vBUELCGjN/3TkQy0obT/3MQJDdcGzL33MWa5r3tPIIikq4nxNlfTXkkpF9W fDf/0hauKSpTfy0jU+QJVW/NOv7gbKbiqbxjbwfn7SiAGM8yQK0bVaMLzCqBPc2AMQ0FHwgsepwl1 Mhot8I5g==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1tYomz-00DAi3-0b; Fri, 17 Jan 2025 11:01:41 -0500 Date: Fri, 17 Jan 2025 11:01:41 -0500 From: Bruce Momjian To: Pavel Stehule Cc: PostgreSQL Hackers Subject: Re: Fwd: Re: proposal: schema variables Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jan 17, 2025 at 04:55:07PM +0100, Pavel Stehule wrote: > pá 17. 1. 2025 v 16:35 odesílatel Bruce Momjian napsal: > > So this feature would be like global GUC variables, with permission > control? > > + types and domain type check - holds data in binary form - there are not > conversions binary, text > + it is declared - so less space for misuse is there. Custom GUC are absolutely > tolerant > + it is a fully database object, only owner can alter it,  and event triggers > are supported, sinval > + possibility to set mutability, default value Okay, good summary. Now, can people give feedback that they would want this committed to PostgreSQL? -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future.