function from rule

From: sara_software(at)hotmail(dot)com (sara_software)
To: pgsql-general(at)postgresql(dot)org
Subject: function from rule
Date: 2001-11-30 21:32:39
Message-ID: c05ff500.0111301332.1e9373df@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a rule that calls a function on insert to a particular table.

I need this function to get the values from the insert function. so if
someone enters:

insert into this_table values(1,2,3);

I want to declare a variable and assign it the values in the insert
action.

How can I do this?

thx

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2001-11-30 22:15:11 Re: Timing a query
Previous Message Andrew Sullivan 2001-11-30 19:42:45 Re: alter table