Re: can trigger monitor two tables?

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

 



zhangkai.gis <zhangkai.gis@xxxxxxx> wrote:

> Hello all,
>      I can monitor a table use triger write in language C as the example in
> postgres document .But I don't know whether or not can a trigger monitor more
> than one table?Is there a example?

i hope i understand you ...

you can use the same trigger-function for more than one table, but a
TRIGGER is per table, you have to define the trigger for every table.


Regards, Andreas Kretschmer
-- 
Andreas Kretschmer
http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux