Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTY5S-00030w-DD for pgsql-hackers@arkaria.postgresql.org; Sun, 13 Mar 2022 23:57:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nTY5R-0005rZ-9L for pgsql-hackers@arkaria.postgresql.org; Sun, 13 Mar 2022 23:57:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTY5R-0005rP-04 for pgsql-hackers@lists.postgresql.org; Sun, 13 Mar 2022 23:57:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTY5O-0005Gi-RJ for pgsql-hackers@postgresql.org; Sun, 13 Mar 2022 23:57:19 +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 22DNv8FG081328; Sun, 13 Mar 2022 19:57:08 -0400 From: Tom Lane To: Andres Freund cc: Daniel Gustafsson , Greg Nancarrow , Ivan Panchenko , Teodor Sigaev , Ibrar Ahmed , vignesh C , Pavel Stehule , PostgreSQL Hackers , Amit Kapila , Masahiko Sawada Subject: Re: On login trigger: take three In-reply-to: <20220313233350.mar5ix6cqmgaokta@alap3.anarazel.de> References: <8E2D5874-49BD-4D4F-8F76-3D3984AA478D@yesql.se> <8F2FC11D-F0B4-41F2-BA7F-BA7F84DBF493@yesql.se> <20220312024652.lvgehszwke4hhove@alap3.anarazel.de> <20220313233350.mar5ix6cqmgaokta@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 13 Mar 2022 16:33:50 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <81326.1647215828.1@sss.pgh.pa.us> Date: Sun, 13 Mar 2022 19:57:08 -0400 Message-ID: <81327.1647215828@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2022-03-13 23:31:03 +0100, Daniel Gustafsson wrote: >> Something like a '-c ignore_event_trigger=' GUC perhaps? > Did you mean login instead of event? > Something like it would work for me. It probably should be > GUC_DISALLOW_IN_FILE? Why? Inserting such a setting in postgresql.conf and restarting would be the first thing I'd think of if I needed to get out of a problem. The only other way is to set it on the postmaster command line, which is going to be awkward-to-impossible with most system-provided start scripts. regards, tom lane