Question about accessing current row data inside trigger - Mailing list pgsql-general

From peter Willis
Subject Question about accessing current row data inside trigger
Date
Msg-id 422DFEEA.7010207@borstad.com
Whole thread Raw
Responses Re: Question about accessing current row data inside trigger
Re: Question about accessing current row data inside trigger
List pgsql-general
Hello,

I have a trigger function written in C.
The trigger function is called via:

CREATE TRIGGER after_update AFTER UPDATE ON some_table
    FOR EACH ROW EXECUTE PROCEDURE  my_trigger_function();

    Since the trigger is called after each row update the actual row data
should be available in some way to the trigger.
    What functionality (SPI ?) do I use to use the column values from
the current row in the actual trigger?

thanks for any insight,

Peter



pgsql-general by date:

Previous
From: Edmund Bacon
Date:
Subject: Re: Stuck with a query...
Next
From: "Raghunath Ganti"
Date:
Subject: Postgres - Tsearch2 Module