pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: Greg Nancarrow <gregn4422@gmail.com>
Cc: Ivan Panchenko <wao@mail.ru>
Cc: Teodor Sigaev <teodor@sigaev.ru>
Cc: Ibrar Ahmed <ibrar.ahmad@gmail.com>
Cc: vignesh C <vignesh21@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Subject: Re: On login trigger: take three
Date: Sun, 13 Mar 2022 19:57:08 -0400
Message-ID: <81327.1647215828@sss.pgh.pa.us> (raw)
In-Reply-To: <20220313233350.mar5ix6cqmgaokta@alap3.anarazel.de>
References: <CAJcOf-doDSEFhG4ZQ4HgASZ1p0MFD0MtNcTZtuB68+A5HUOG8Q@mail.gmail.com>
	<8E2D5874-49BD-4D4F-8F76-3D3984AA478D@yesql.se>
	<CAJcOf-c=tx6+Dfo-MNmye6FjL958eNev0=Wo70Xa72t+degfig@mail.gmail.com>
	<8F2FC11D-F0B4-41F2-BA7F-BA7F84DBF493@yesql.se>
	<CAJcOf-cq9=f_hz9DXKFJBVNGK1C68XsxhKXYZ7PkzGgb=jDh7A@mail.gmail.com>
	<CAJcOf-efxjnZ2Wsj_W_=nF8o3t+F9NaG0Ja_af3cV7gMkhdFTQ@mail.gmail.com>
	<CAJcOf-cF2_oJtNSBPrb5i+pZnN552ZSLZ2ffoo2nLa6Fb_R6uQ@mail.gmail.com>
	<CAJcOf-ei2VTinDPO84w8YdkO-+-g6YLuUUxwBswW6QaFGdjRJQ@mail.gmail.com>
	<20220312024652.lvgehszwke4hhove@alap3.anarazel.de>
	<E0D5DC61-C490-45BD-A984-E8D56493EC4F@yesql.se>
	<20220313233350.mar5ix6cqmgaokta@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2022-03-13 23:31:03 +0100, Daniel Gustafsson wrote:
>> Something like a '-c ignore_event_trigger=<event|all>' 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





view thread (171+ messages)  latest in thread

Message-ID: <81327.1647215828@sss.pgh.pa.us>
Permalink:  ../81327.1647215828@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/81327.1647215828@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, daniel@yesql.se, gregn4422@gmail.com, wao@mail.ru, teodor@sigaev.ru, ibrar.ahmad@gmail.com, vignesh21@gmail.com, pavel.stehule@gmail.com, amit.kapila16@gmail.com, sawada.mshk@gmail.com
  Subject: Re: On login trigger: take three
  In-Reply-To: <81327.1647215828@sss.pgh.pa.us>
  References: <CAJcOf-doDSEFhG4ZQ4HgASZ1p0MFD0MtNcTZtuB68+A5HUOG8Q@mail.gmail.com> <8E2D5874-49BD-4D4F-8F76-3D3984AA478D@yesql.se> <CAJcOf-c=tx6+Dfo-MNmye6FjL958eNev0=Wo70Xa72t+degfig@mail.gmail.com> <8F2FC11D-F0B4-41F2-BA7F-BA7F84DBF493@yesql.se> <CAJcOf-cq9=f_hz9DXKFJBVNGK1C68XsxhKXYZ7PkzGgb=jDh7A@mail.gmail.com> <CAJcOf-efxjnZ2Wsj_W_=nF8o3t+F9NaG0Ja_af3cV7gMkhdFTQ@mail.gmail.com> <CAJcOf-cF2_oJtNSBPrb5i+pZnN552ZSLZ2ffoo2nLa6Fb_R6uQ@mail.gmail.com> <CAJcOf-ei2VTinDPO84w8YdkO-+-g6YLuUUxwBswW6QaFGdjRJQ@mail.gmail.com> <20220312024652.lvgehszwke4hhove@alap3.anarazel.de> <E0D5DC61-C490-45BD-A984-E8D56493EC4F@yesql.se> <20220313233350.mar5ix6cqmgaokta@alap3.anarazel.de> <81327.1647215828@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox