Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmgWF-0008HZ-3p for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Jan 2019 15:02:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gmgWD-0005uD-Tw for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Jan 2019 15:02:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmgWD-0005mS-LL for pgsql-hackers@lists.postgresql.org; Thu, 24 Jan 2019 15:02:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmgWA-0007eZ-HC for pgsql-hackers@lists.postgresql.org; Thu, 24 Jan 2019 15:02:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x0OExqBn016830; Thu, 24 Jan 2019 09:59:52 -0500 From: Tom Lane To: Bruce Momjian cc: Kyotaro HORIGUCHI , tsunakawa.takay@jp.fujitsu.com, GavinFlower@archidevsys.co.nz, robertmhaas@gmail.com, ideriha.takeshi@jp.fujitsu.com, pgsql-hackers@lists.postgresql.org, alvherre@alvh.no-ip.org, andres@anarazel.de, michael.paquier@gmail.com, david@pgmasters.net, Jim.Nasby@bluetreble.com, craig@2ndquadrant.com Subject: Re: Protect syscache from bloating with negative cache entries In-reply-to: <20190124144732.GD8334@momjian.us> References: <20190121.172255.226467552.horiguchi.kyotaro@lab.ntt.co.jp> <20190123.173502.237450969.horiguchi.kyotaro@lab.ntt.co.jp> <20190123232145.GA8334@momjian.us> <20190124.183924.13894464.horiguchi.kyotaro@lab.ntt.co.jp> <20190124144732.GD8334@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 24 Jan 2019 09:47:32 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16828.1548341992.1@sss.pgh.pa.us> Date: Thu, 24 Jan 2019 09:59:52 -0500 Message-ID: <16829.1548341992@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > On Thu, Jan 24, 2019 at 06:39:24PM +0900, Kyotaro HORIGUCHI wrote: >> I also thought that there's some other features that is useful if >> it could be turned on remotely so the remote GUC feature but it >> was too complex... > Well, I am thinking if we want to do something like this, we should do > it for all GUCs, not just for this one, so I suggest we not do this now > either. I will argue hard that we should not do it at all, ever. There is already a mechanism for broadcasting global GUC changes: apply them to postgresql.conf (or use ALTER SYSTEM) and SIGHUP. I do not think we need something that can remotely change a GUC's value in just one session. The potential for bugs, misuse, and just plain confusion is enormous, and the advantage seems minimal. regards, tom lane