On 20/06/2017 14:43, Osahon Oduware
wrote:
Write an ON UPDATE trigger on table B, and inside the code check
for pg_trigger_depth() . If this is == 1 (called by user UPDATE)
then RAISE an exception. If it is >1 then it is called by the
other trigger,
-- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt |