我从java应用程序收到这个postgres错误,我希望能够更多地调试它。
ERROR: duplicate key value violates unique constraint "jiveactfirehose_pk"
STATEMENT: INSERT INTO jiveActivityFirehose (activityIDHi, activityIDLo, activitySystemID, activityContextID, activityContextType, activityDescriptorID, activityDescriptorType, activityParentID, activityParentType, activityTime, activityType, activityUserID, activityLocaleCode, activityProperties, activityAddProperties)
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15)
我在语句中添加了换行符,以便您可以更轻松地查看值。
如何在不修改java代码的情况下查看参数值?是否有办法将实际值从postgres输出到错误日志?