I want to \"create or replace\" a trigger for a postgres table. However, there is not such sql expression.
I see that I can do a \"DROP TRIGGER IF EXISTS
\"
Postgresql has transaction DDL so BEGIN > DROP > CREATE > COMMIT
is the equivalent of CREATE OR REPLACE
This is a nice write-up of how postgre's transactional DDL compares to other systems (such as oracle)
Current postgres planned features regarding triggers do not include adding the REPLACE
syntax.