Thread: Update trigger name

Update trigger name

From
Jean-Michel POURE
Date:
Dear friends,

We are implementing trigger pseudo ALTER in pgAdmin2

Does this work to update trigger name :
UPDATE tg_trigger SET tgname = 'newname' WHERE tgname = 'oldname';

Is this safe?

Regards,
Jean-Michel