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

Duplicate key value violates constraint pr_sys_ruleset_index_pk



When installing Pega Platform 8.4 on PostgreSQL, Constraint errors occur on the pr_sys_ruleset_index_pk.

Error Messages

[java] Caused by: org.postgresql.util.PSQLException: The database returned ROLLBACK, so the transaction cannot be committed. Transaction failure cause is <<ERROR: duplicate key value violates unique constraint "pr_sys_ruleset_index_pk"
     [java]   Detail: Key (pzinskey)=(SYSTEM-RULESET-INDEX C5F8D11E1C6712B822BE592273FD678F!PEGA-PROCESSCOMMANDER) already exists.>>
     [java]     at org.postgresql.core.v3.QueryExecutorImpl.processResults(
     [java]     at org.postgresql.core.v3.QueryExecutorImpl.execute(
     [java]     at org.postgresql.jdbc.PgConnection.executeTransactionCommand(
     [java]     at org.postgresql.jdbc.PgConnection.commit(
     [java]     at com.zaxxer.hikari.pool.ProxyConnection.commit(
     [java]     at com.zaxxer.hikari.pool.HikariProxyConnection.commit(
     [java]     at
     [java]     at
     [java]     ... 38 more

Steps to Reproduce

Execute the Install script.

Root Cause

A defect or configuration issue in the operating environment.
The PostgreSQL JDBC 42.2.11 driver has a change in behavior which results in the Constraint error with the Installation script.


Make the following change to the operating environment:

Use the PostgreSQL JDBC 42.2.6 driver.

Published April 14, 2020 - Updated December 2, 2021

Was this useful?

0% 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