Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

PSQLException: ERROR: canceling statement due to user request



When reindexing rules in Pega, indexing fails with an error.

Error Messages

Error in log while re-indexing:

[MSG][An error occured on executing the query for the report definition - There was a problem getting a list: code: 0 SQLState: 57014 Message: ERROR: canceling statement due to user request DatabaseException caused by prior exception: org.postgresql.util.PSQLException: ERROR: canceling statement due to user request | SQL Code: 0 | SQL State: 57014

Steps to Reproduce

Reindex the rules.

Root Cause

pegadata.pr_sys_queue_ftsindexer table contained approximately 10.4 million records. Hence, query execution took long and was canceled due to JVM timeout.


Perform the following local-change:

Truncate the pegadata.pr_sys_queue_ftsindexer table as it contained old indexing records (which are not required).


Published September 14, 2018 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us