sql/trigger question...arguments? - Mailing list pgsql-general

From chris markiewicz
Subject sql/trigger question...arguments?
Date
Msg-id 016001c02a45$ce964b00$dbb846c6@cmarkiewicz
Whole thread Raw
Responses RE: sql/trigger question...arguments?
List pgsql-general
hello.

i am new to triggers.  i am trying to write one that inserts a row into a
table (RESOURCE) everytime a new person (PERSON) is added to my db.  the
problem is that i want to include some data from the PERSON insert in the
RESOURCE insert.  (for example, the value of the PersonID field will be
entered into the ResourceID field.)  how do i pass info to a trigger?

thanks
chris


pgsql-general by date:

Previous
From: "Dominic J. Eidson"
Date:
Subject: Re: Fw: Redhat 7 and PgSQL
Next
From: Stephan Szabo
Date:
Subject: Re: Checking number of entries