Re: On login trigger: take three - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: On login trigger: take three
Date
Msg-id 8E8EBC44-1EE7-4C97-9BD7-11150179046E@yesql.se
Whole thread Raw
In response to Re: On login trigger: take three  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: On login trigger: take three  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
> On 8 Sep 2021, at 16:02, Pavel Stehule <pavel.stehule@gmail.com> wrote:

> In the time when event triggers were introduced, managed services were not too widely used like now. When we
discussedthis feature we thought about environments when users have no superuser rights and have no possibility to go
tosingle mode. 

In situations where you don't have superuser access and cannot restart in
single user mode, none of the bypasses in this patch would help anyways.

I understand the motivation, but continuing on even in the face of an
ereport(ERROR..  ) in the hopes of being able to turn off buggy code seems
pretty unsafe at best.

--
Daniel Gustafsson        https://vmware.com/




pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: [PATCH] support tab-completion for single quote input with equal sign
Next
From: Pavel Stehule
Date:
Subject: Re: On login trigger: take three