2011-04-13 Ramon Novoa <rnovoa@artica.es>

* pandoradb.postgreSQL.sql: Created the UNIX_TIMESTAMP function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2011-04-13 16:32:30 +00:00
parent c69f48e890
commit d0092aa6f2
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-04-13 Ramon Novoa <rnovoa@artica.es>
* pandoradb.postgreSQL.sql: Created the UNIX_TIMESTAMP function.
2011-04-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php

View File

@ -28,6 +28,7 @@
CREATE LANGUAGE plpgsql;
CREATE OR REPLACE FUNCTION unix_timestamp(TIMESTAMP without time zone = CURRENT_TIMESTAMP) RETURNS double precision AS 'SELECT ceil(date_part(''epoch'', $1)); ' LANGUAGE SQL;
CREATE TABLE "taddress" (
"id_a" SERIAL NOT NULL PRIMARY KEY,