summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-11-14 12:21:49 +0100
committerYorhel <git@yorhel.nl>2010-11-14 12:21:49 +0100
commit121b642d3c7ac4b34c644642baf75d34c8466d53 (patch)
tree4212477ba66fe72efdeb650c1305ca577d9fba5d /Makefile
parenta0dff7f8d6ad1aeb508fd1bfb5f7bdbcbf16243a (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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)