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:
jsatoh 2012-04-14 12:16:34 +00:00
parent 72419d735c
commit 980553947f
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* operation/agentes/stat_win.php: Fixed i18n support. Changed

View File

@ -26,7 +26,7 @@
--\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;