Search Postgresql Archives

Re: Create event triger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you very much  Guillaume.

Do you know maybe any function to do it automatically? 

Best,
Jacek

wt., 10 lip 2018 o 11:25 Guillaume Lelarge <guillaume@xxxxxxxxxxxx> napisał(a):
2018-07-10 10:56 GMT+02:00 Łukasz Jarych <jaryszek@xxxxxxxxx>:
No possible?


Nope, you need to set up the trigger on each table.

Jacek

pon., 9 lip 2018 o 13:03 Łukasz Jarych <jaryszek@xxxxxxxxx> napisał(a):
Hi,

i have small database and i am tracking changes using trigger:

CREATE TRIGGER t BEFORE INSERT OR UPDATE OR DELETE ON t_trig

        FOR EACH ROW EXECUTE PROCEDURE change_trigger();
It is possible to create general trigger for all tables?
Like event trigger?

It would be very helpful for me. 
Now i have to set up this trigger on each table.

Best,
Jacek 



--
Guillaume.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux