Id like to to function with plperlu which write's db-events to log-file.
My trigger looks like this:
CREATE TRIGGER trapd
BEFORE INSERT OR UPDATE ON events FOR EACH ROW
EXECUTE PROCEDURE write_trapd();
But now i have a problem how to write that event information for specific
file. I dont want to write whole event, only part offit.
Does anyone have suggestion how to do this?
My goal is to read that log file (eg. tail) and when there comes new event
some other programs executes some other programs.
Name: Ville Leinonen
pgsql-novice by date
|Next:||From: János||Date: 2005-06-13 13:25:30|
|Subject: Re: need suggestion for server sizing|
|Previous:||From: Volkan YAZICI||Date: 2005-06-13 07:37:19|
|Subject: Steps taken through while transmitting binary data|