Re: Support event trigger for logoff

2024-04-22 Thread Japin Li
On Sat, 20 Apr 2024 at 01:36, Tom Lane wrote: > Japin Li 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? > I am currently unsure how to handle such situ

Re: Support event trigger for logoff

2024-04-19 Thread Tom Lane
Japin Li 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

Support event trigger for logoff

2024-04-19 Thread Japin Li
Hi, hackers I see [1] has already implemented on login event trigger, why not implement the logoff event trigger? My friend Song Jinzhou and I try to implement the logoff event trigger, so attach it. Here is a problem with the regression test when using \c to create a new session, because it mi