From 121b642d3c7ac4b34c644642baf75d34c8466d53 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sun, 14 Nov 2010 12:21:49 +0100 Subject: SQL: Added WHEN clause to all TRIGGERs for which it was useful This effectively removes compatibility with all PostgreSQL versions below 9.0. The use of the WHEN clause has two major advantages: 1. Performance: Trigger functions aren't executed when they don't need to. 2. Easier and more general trigger functions; as some of the logic has been placed in the trigger definitions now. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d876d0c1..961872b4 100644 --- a/Makefile +++ b/Makefile @@ -153,4 +153,7 @@ update-2.13: all $(multi-start) update-2.14: all + $(multi-stop) + ${runpsql} < util/updates/update_2.14.sql + $(multi-start) -- cgit v1.2.3