Skip to content

Commit

Permalink
fix: create trigger without "OR REPLACE" (#2481)
Browse files Browse the repository at this point in the history
CREATE OR REPLACE TRIGGER was added int PostgreSQL 14, RedHat is still
on version 13.

Refs: XRDDEV-2687
  • Loading branch information
mloitm authored Dec 16, 2024
1 parent c7ed486 commit 5e5c265
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ BEGIN
END;
$function$;
CREATE OR REPLACE TRIGGER t_logrecord_del_attachments
CREATE TRIGGER t_logrecord_del_attachments
BEFORE DELETE ON logrecord
FOR EACH ROW
EXECUTE FUNCTION del_message_attachments();
Expand Down

0 comments on commit 5e5c265

Please sign in to comment.