2
0
forked from Wavyzz/dolibarr

Fix: On cre les fonctions si le fichier functions.sql existe

This commit is contained in:
Laurent Destailleur
2005-03-18 00:57:30 +00:00
parent 954f4d879e
commit ef933c09d2
2 changed files with 374 additions and 261 deletions

View File

@@ -36,4 +36,4 @@ CREATE OR REPLACE FUNCTION FROM_UNIXTIME(BIGINT, VARCHAR)
RETURNS TIMESTAMP WITH TIME ZONE
LANGUAGE SQL
IMMUTABLE STRICT
AS 'SELECT TIMESTAMP WITH TIME ZONE \'epoch\' + $1 * interval \'1 second\';';
AS 'SELECT TIMESTAMP WITH TIME ZONE \'epoch\' + $1 * interval \'1 second\' ;';