Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
Merge branch 'next' into r1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsmichi committed Oct 17, 2012
2 parents 31205e8 + bb7f5cd commit bda3b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/idoutils/db/pgsql/pgsql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@

CREATE OR REPLACE FUNCTION from_unixtime(integer) RETURNS timestamp with time zone AS '
SELECT to_timestamp($1) AS result
' LANGUAGE 'SQL';
' LANGUAGE sql;

CREATE OR REPLACE FUNCTION unix_timestamp(timestamp with time zone) RETURNS bigint AS '
SELECT EXTRACT(EPOCH FROM $1)::bigint AS result;
' LANGUAGE 'SQL';
' LANGUAGE sql;


-- -----------------------------------------
Expand Down

0 comments on commit bda3b26

Please sign in to comment.