Re: Advice for generalizing trigger functions - Mailing list pgsql-sql

From Richard Broersma Jr
Subject Re: Advice for generalizing trigger functions
Date
Msg-id 276465.18598.qm@web31801.mail.mud.yahoo.com
Whole thread Raw
In response to Re: Advice for generalizing trigger functions  (Erik Jones <erik@myemma.com>)
Responses Re: Advice for generalizing trigger functions
List pgsql-sql
--- On Thu, 12/27/07, Erik Jones <erik@myemma.com> wrote:

> TG_TABLE_NAME will have the name of the table the trigger
> was fired  on.  With that and using EXECUTE for your INSERT
> statements, you'll  probably be set.

True the table name is the easy part, but how do I determine the Primary Key components of the table that will also be
neededin the SQL string that will be executed?
 

Regards,
Richard Broersma Jr.


pgsql-sql by date:

Previous
From: Erik Jones
Date:
Subject: Re: Advice for generalizing trigger functions
Next
From: Erik Jones
Date:
Subject: Re: Advice for generalizing trigger functions