Re: Advice for generalizing trigger functions

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Advice for generalizing trigger functions
Дата
Msg-id 276465.18598.qm@web31801.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Advice for generalizing trigger functions  (Erik Jones <erik@myemma.com>)
Ответы Re: Advice for generalizing trigger functions
Список 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 по дате отправления:

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Advice for generalizing trigger functions
Следующее
От: Erik Jones
Дата:
Сообщение: Re: Advice for generalizing trigger functions