Problems with trigger and function. - Mailing list pgsql-novice

From Ville Leinonen
Subject Problems with trigger and function.
Date
Msg-id 12182.194.240.150.6.1118661317.squirrel@194.240.150.6
Whole thread Raw
Responses Re: Problems with trigger and function.
Re: Problems with trigger and function.
List pgsql-novice
Hi all,

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.

Best regards,

Name: Ville Leinonen
E-mail: ville.leinonen@megata.vu


pgsql-novice by date:

Previous
From: Volkan YAZICI
Date:
Subject: Steps taken through while transmitting binary data
Next
From: János
Date:
Subject: Re: need suggestion for server sizing