# Unrecognized error type (ActiveRecord::StatementInvalid: PG::ProgramLimitExceeded

**URL:** <https://meta.discourse.org/t/unrecognized-error-type-activerecord-pg-programlimitexceeded/217858>\
**Category:** Bug\
**Created:** [February 11, 2022, 8:53am UTC](https://meta.discourse.org/t/unrecognized-error-type-activerecord-pg-programlimitexceeded/217858 "2022-02-11T08:53:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [February 11, 2022, 6:02pm UTC](https://meta.discourse.org/t/unrecognized-error-type-activerecord-pg-programlimitexceeded/217858/2 "2022-02-11T18:02:16Z")

</div>

Are you on PG13

You might try a vacuum and reindex. I think if you search for those you should find some examples, but [PostgreSQL 13 update](https://meta.discourse.org/t/postgresql-13-update/172563) might give you some hints.

---

_[View the full topic](https://meta.discourse.org/t/unrecognized-error-type-activerecord-pg-programlimitexceeded/217858)._
