Created
February 13, 2011 08:47
-
-
Save m4tm4t/824546 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION from_unixtime(integer) RETURNS timestamp AS ' | |
SELECT to_timestamp($1)::timestamp AS result | |
' LANGUAGE 'SQL'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment