[Pkg-dspam-commits] [SCM] Debian packages for the DSPAM anti-spam filter branch, master, updated. debian/3.10.2+dfsg-3-21-g21f312e

Thomas Preud'homme robotux at celest.fr
Sat Apr 6 11:28:05 UTC 2013


The following commit has been merged in the master branch:
commit 33faff82473485fccfb9e964ce164b98828a0208
Author: Thomas Preud'homme <robotux at celest.fr>
Date:   Mon Mar 4 17:39:52 2013 +0100

    Create plpgsql as extension instead of language
    
    In PostgreSQL 9.1 as shipped in Wheezy, plpgsql must be created as an
    extension instead of a language. In addition, this allows to create it
    only if it does not already exist.

diff --git a/debian/changelog b/debian/changelog
index 60296fb..bb20992 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
 dspam (3.10.1+dfsg-10) testing-proposed-updates; urgency=low
 
-  * Explicitely require legacy mode for string escaping in PostgreSQL since it
+  * Explicitly require legacy mode for string escaping in PostgreSQL since it
     now defaults to standard compliant mode (Closes: #694942).
+  * Fix error when creating database in PostgreSQL by creating plpgsql as
+    extension instead of language.
 
  -- Thomas Preud'homme <robotux at debian.org>  Mon, 04 Mar 2013 13:56:45 +0100
 
diff --git a/debian/sqlfiles/install-dbadmin/pgsql b/debian/sqlfiles/install-dbadmin/pgsql
index bc028fb..144ea8e 100644
--- a/debian/sqlfiles/install-dbadmin/pgsql
+++ b/debian/sqlfiles/install-dbadmin/pgsql
@@ -1 +1 @@
-CREATE LANGUAGE plpgsql;
+CREATE EXTENSION IF NOT EXISTS plpgsql;

-- 
Debian packages for the DSPAM anti-spam filter



More information about the Pkg-dspam-commits mailing list