Seaquel
PostgreSQL error code

PostgreSQL error XX002

XX002 is the SQLSTATE PostgreSQL reports for index corrupted, in class XX, Internal Error.

SQLSTATEXX002
Condition nameindex_corrupted
ClassXX — Internal Error

Source: PostgreSQL documentation, Appendix A