deadline数据无法导入postgresql数据库

在deadline中配置好statistic gathering存入postgresql后,渲染任务时不能将slave和job信息存入postgresql,而且点击view repository statistic时提示‘xx XML statistics entries exist. Would you like to add them to the database',点击’Yes‘后弹出提示框'Files cannot be added to the database. Check the log file for more information',对于log信息,可以通过monitor中的help->Explore Log Folder菜单来打开日志信息文件夹,通过查看发现日志中提示如下信息:

2012-10-08 12:31:03: Error Importing: \\10.67.2.31\DeadlineRepository\reports\statistics\jobs\2012-08\999_050_999_1ddb9763.stats Message: ERROR: 22008: date/time field value out of range: "13/08/2012 09:44:41",其实只要在创建数据库前,将postgresql.conf文件中的datestyle改为'dmy'即可。

猜你喜欢

转载自jxdiamond.iteye.com/blog/1694971