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

From Zhihong Yu
Subject Re: On login trigger: take three
Date
Msg-id CALNJ-vQK2V1op-kEYmwo=3wW4sx7G7ngY58x0OOQELn=Y5KG3w@mail.gmail.com
Whole thread Raw
In response to On login trigger: take three  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Responses Re: On login trigger: take three
List pgsql-hackers
Hi,
For EventTriggerOnConnect():

+           PG_CATCH();
+           {
...
+               AbortCurrentTransaction();
+               return;

Should runlist be freed in the catch block ?

+           gettext_noop("In case of errors in the ON client_connection EVENT TRIGGER procedure, this parameter can be used to disable trigger activation and provide access to the database."),

I think the text should be on two lines (current line too long).

Cheers

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Proposed patch for key managment
Next
From: Michael Paquier
Date:
Subject: Re: Proposed patch for key managment