e53633398a
Add a patch to unbreak db initialization (remove quotes around LANGUAGE 'plpgsql', breaking with recent psqls ?)
24 lines
826 B
Plaintext
24 lines
826 B
Plaintext
$OpenBSD: patch-dba_davical_sql,v 1.1 2012/11/11 20:50:18 landry Exp $
|
|
http://postgresql.1045698.n5.nabble.com/Buildfarm-now-building-but-with-test-failures-td5119291.html#a5120094
|
|
Fix with psql > 9.xx ?
|
|
--- dba/davical.sql.orig Sun Nov 11 21:36:43 2012
|
|
+++ dba/davical.sql Sun Nov 11 21:37:04 2012
|
|
@@ -36,7 +36,7 @@ BEGIN
|
|
ELSE 0 END)::BIT(24);
|
|
END
|
|
$$
|
|
-LANGUAGE 'PlPgSQL' IMMUTABLE STRICT;
|
|
+LANGUAGE PlPgSQL IMMUTABLE STRICT;
|
|
|
|
-- Given an array of verbose DAV: or CalDAV: privilege names return the bitmask
|
|
CREATE or REPLACE FUNCTION privilege_to_bits( TEXT[] ) RETURNS BIT(24) AS $$
|
|
@@ -62,7 +62,7 @@ BEGIN
|
|
RETURN out_bits;
|
|
END
|
|
$$
|
|
-LANGUAGE 'PlPgSQL' IMMUTABLE STRICT;
|
|
+LANGUAGE PlPgSQL IMMUTABLE STRICT;
|
|
|
|
|
|
-- This sequence is used in a number of places so that any DAV resource will have a unique ID
|