Rules upgrade failed during upgrade to Pega 8.2.1
As the first step in the out-of-place upgrade, the Migrate script is fails when cloning the Rules tables and the pr_data_admin table to the new Rules schema.
[java] (SQLLoaderInternal) INFO - CREATE INDEX PXINSNAMEINDEX
[java] (SQLLoaderInternal) INFO - Failed to execute SQL in file POSTGRES04920.sql
[java] org.postgresql.util.PSQLException: ERROR: relation "pxinsnameindex" already exists
[java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2476)
Steps to Reproduce
Run the Migrate script.
A defect or configuration issue in the operating environment.
An index named pxinsnameindex was added to the pr_data_admin table and the same name was used for an index on a table in the Rules schema. Neither of the indexes were provided out-of-the-box. For this script, a copy of the pr_data_admin table was created in the new Rules schema. The upgrade failed since an index was already present by that name.
Perform the following local-change:
- Drop the pxinsnameindex from the pr_data_admin table.
- Restart the Migrate script.
0% found this useful