- Made the forum module work with PostgreSQL. Patch by Gordon Kerr, verified
by James Arthur.4.1.x
parent
ea6ce100a1
commit
86a3ebefd3
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in New Issue