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:
parent
c69f48e890
commit
d0092aa6f2
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue