Re: Support event trigger for logoff - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Support event trigger for logoff
Date
Msg-id 2174635.1713548194@sss.pgh.pa.us
Whole thread Raw
In response to Support event trigger for logoff  (Japin Li <japinli@hotmail.com>)
Responses Re: Support event trigger for logoff  (Japin Li <japinli@hotmail.com>)
List pgsql-hackers
Japin Li <japinli@hotmail.com> writes:
> I see [1] has already implemented on login event trigger, why not implement
> the logoff event trigger?

What happens if the session crashes, or otherwise fails unexpectedly?

> Here is a problem with the regression test when using \c to create a new
> session, because it might be running concurrently, which may lead to the
> checking being unstable.

> Any thoughts?

Let's not go there at all.  I don't think there's enough field
demand to justify dealing with this concept.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Support a wildcard in backtrace_functions
Next
From: Robert Haas
Date:
Subject: subscription/026_stats test is intermittently slow?