Re: Does trigger only accept functions? - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: Does trigger only accept functions?
Date
Msg-id Zmg2GIso2Lb4r_2m@depesz.com
Whole thread Raw
In response to Does trigger only accept functions?  (veem v <veema0000@gmail.com>)
Responses Re: Does trigger only accept functions?
List pgsql-general
On Tue, Jun 11, 2024 at 12:47:14AM +0530, veem v wrote:
> to be called from ~50 triggers? or any other better approach exists to
> handle this?

pgaudit extension?

Or just write all the changes to single table?

Or use dynamic queries that will build the insert based on the name of
table the event happened on?

Or pass arguments?

Best regards,

depesz




pgsql-general by date:

Previous
From: Francisco Olarte
Date:
Subject: Re: libpq v17 PQsocketPoll timeout is not granular enough
Next
From: Rich Shepard
Date:
Subject: Re: Gaps in PK sequence numbers [RESOLVED]