Re: A generic trigger?

Поиск
Список
Период
Сортировка
От ow
Тема Re: A generic trigger?
Дата
Msg-id 20030914102851.82497.qmail@web21403.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: A generic trigger?  (Peter Childs <Blue.Dragon@blueyonder.co.uk>)
Список pgsql-sql
--- Peter Childs <Blue.Dragon@blueyonder.co.uk> wrote:
>     Yes it is possible and I've done it. The reason I'm not using it is because
> I 
> wrote it in Pl/Python and if you attach the same trigger to more than one 
> table in the same transaction pg/python (actually the entire server crashes 
> but thats not the point) crashes. Well it did when I last tested it in early 
> versions. I'm still thinking of getting around to rewriting it in a language 
> without this bug, since nobody sounds like they are going to fix it. C might 
> be best!

[snip]

Hi,

In my case, "company" and "company_backup" tables have the *same* structure, so
I was hoping for a simpler solution using just plpgsql.

Any ideas? Thanks






__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


В списке pgsql-sql по дате отправления:

Предыдущее
От: Peter Childs
Дата:
Сообщение: Re: A generic trigger?
Следующее
От: "Rudi Starcevic"
Дата:
Сообщение: Linked Lists example.