List triggers and their content

Is there a way to edit/list triggers and their content? I've created one by using SQL as the UI is a bit limited
CREATE TRIGGER trigger_apply_discount
    AFTER UPDATE OF used, used_by_order ON discount_codes
    FOR EACH ROW
    WHEN (NEW.used = TRUE AND OLD.used = FALSE)
    EXECUTE FUNCTION apply_discount_to_order();
Was this page helpful?