Is missing LOGIN Event on Trigger Firing Matrix ?

Started by Marcos Pegoraroalmost 2 years ago4 messageshackers
Jump to latest
#1Marcos Pegoraro
marcos@f10.com.br

create event trigger ... on login is now available but it is not shown on
DOCs or is it in another page ?

https://www.postgresql.org/docs/devel/event-trigger-matrix.html
doesn't have it, should be there ?

regards
Marcos

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Marcos Pegoraro (#1)
Re: Is missing LOGIN Event on Trigger Firing Matrix ?

On 2024-06-27 Th 2:40 PM, Marcos Pegoraro wrote:

create event trigger ... on login is now available but it is not shown
on DOCs or is it in another page ?

https://www.postgresql.org/docs/devel/event-trigger-matrix.html
doesn't have it, should be there ?

It's not triggered by a statement. But see here:

https://www.postgresql.org/docs/devel/event-trigger-database-login-example.html

cheers

andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com

#3David G. Johnston
david.g.johnston@gmail.com
In reply to: Andrew Dunstan (#2)
Re: Is missing LOGIN Event on Trigger Firing Matrix ?

On Thu, Jun 27, 2024 at 12:39 PM Andrew Dunstan <andrew@dunslane.net> wrote:

On 2024-06-27 Th 2:40 PM, Marcos Pegoraro wrote:

create event trigger ... on login is now available but it is not shown on
DOCs or is it in another page ?

https://www.postgresql.org/docs/devel/event-trigger-matrix.html
doesn't have it, should be there ?

It's not triggered by a statement. But see here:

https://www.postgresql.org/docs/devel/event-trigger-database-login-example.html

I suggest adding a sentence and link from the main description [1]https://www.postgresql.org/docs/devel/event-trigger-definition.html to that
page.

We already do that for the ones that have commands:
"For a complete list of commands supported by the event trigger mechanism,
see Section 38.2."

and login deserves something similar on that page.

David J.

[1]: https://www.postgresql.org/docs/devel/event-trigger-definition.html

#4Daniel Gustafsson
daniel@yesql.se
In reply to: David G. Johnston (#3)
Re: Is missing LOGIN Event on Trigger Firing Matrix ?

On 27 Jun 2024, at 22:00, David G. Johnston <david.g.johnston@gmail.com> wrote:

I suggest adding a sentence and link from the main description [1] to that page.

How about the attached.

--
Daniel Gustafsson

Attachments:

login_evt_link.diffapplication/octet-stream; name=login_evt_link.diff; x-unix-mode=0644Download+5-0