Search Postgresql Archives

Statement trigger on delete object OID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Is there any way to get some attributes values of the first object involved in a delete on cascade group inside a trigger definition? I wish I could fire a trigger after a delete on cascade has been done but I need some informations which are linked to the first element deleted.

Using a trigger on each row could give access to the OLD object but firing a trigger on a cascade relation may be a performance killer.

Any clue ?

Regards,

Laurent




--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux