[GENERAL] Using pg_trigger.tgqual

2014-02-16 Thread Ondřej Bouda
Hello, I was interested in reading pg_trigger.tgqual from the system catalogs to get a trigger WHEN expression. E.g., for CREATE TRIGGER tr_example BEFORE UPDATE ON example FOR EACH ROW WHEN (NEW.num > 5) EXECUTE PROCEDURE tr_example_fn(); I would love to receive t

[GENERAL] Using pg_trigger.tgqual

2014-02-16 Thread Ondřej Bouda
Hello, I was interested in reading pg_trigger.tgqual from the system catalogs to get a trigger WHEN expression. E.g., for CREATE TRIGGER tr_example BEFORE UPDATE ON example FOR EACH ROW WHEN (NEW.num > 5) EXECUTE PROCEDURE tr_example_fn(); I would love to receive t