- Made the forum module work with PostgreSQL. Patch by Gordon Kerr, verified

by James Arthur.
4.1.x
Dries Buytaert 2002-11-08 13:11:42 +00:00
parent ea6ce100a1
commit 86a3ebefd3
1 changed files with 13 additions and 0 deletions

View File

@ -608,3 +608,16 @@ INSERT INTO blocks(name,module,delta,status) VALUES('User information', 'user',
DELETE FROM blocks WHERE name='Log in';
INSERT INTO blocks(name,module,delta,status) VALUES('Log in', 'user', '1', '1');
---
--- Functions
---
CREATE FUNCTION "greatest"(integer, integer) RETURNS integer AS '
BEGIN
IF $1 > $2 THEN
RETURN $1;
END IF;
RETURN $2;
END;
' LANGUAGE 'plpgsql';