[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    [GENERAL] function from rule
From:       sara_software () hotmail ! com (sara_software)
Date:       2001-11-30 21:32:39
[Download RAW message or body]

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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic