2012-04-14 Junichi Satoh <junichi@rworks.jp>
* pandoradb.postgreSQL.sql: Fixed database creation failure with version 9.0 or later of PostgreSQL. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
72419d735c
commit
980553947f
|
@ -1,3 +1,8 @@
|
||||||
|
2012-04-14 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
|
* pandoradb.postgreSQL.sql: Fixed database creation failure with
|
||||||
|
version 9.0 or later of PostgreSQL.
|
||||||
|
|
||||||
2012-04-14 Junichi Satoh <junichi@rworks.jp>
|
2012-04-14 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* operation/agentes/stat_win.php: Fixed i18n support. Changed
|
* operation/agentes/stat_win.php: Fixed i18n support. Changed
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
--\c "pandora"
|
--\c "pandora"
|
||||||
|
|
||||||
CREATE LANGUAGE plpgsql;
|
CREATE OR REPLACE 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 OR REPLACE FUNCTION unix_timestamp(TIMESTAMP without time zone = CURRENT_TIMESTAMP) RETURNS double precision AS 'SELECT ceil(date_part(''epoch'', $1)); ' LANGUAGE SQL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue