mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
859d9b75a7
The `EXECUTE FUNCTION` syntax for `CREATE TRIGGER` statements was introduced in PostgreSQL 11. We need to replace `EXECUTE FUNCTION` with `EXECUTE PROCEDURE` in order to be able to restore backups created with PG12 on PG10.