# Postgres error: subplan "SubPlan 2" was not initialized

**URL:** <https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440>\
**Category:** Self-hosting\
**Created:** [October 7, 2021, 12:14pm UTC](https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440 "2021-10-07T12:14:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [October 7, 2021, 12:54pm UTC](https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440/4 "2021-10-07T12:54:27Z")

</div>

While I"m at it, would you recommend doing a vacuum and concurrent rebuild of the indexes when this minor upgrade happens? I do it on the upgrade to major version 13. Is doing it for this minor upgrade uneccesssary, not a bad idea, or superfluous?

---

_[View the full topic](https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440)._
