The grammar requires a specific ordering of the clauses, but the documentation showed a different order. This error was introduced in commit b47953f9, which merged the CREATE CONSTRAINT TRIGGER documentation into the CREATE TRIGGER page. There is no code bug AFAICS.