# 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:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [October 7, 2021, 12:18pm UTC](https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440/2 "2021-10-07T12:18:58Z")

</div>

That is indeed a PostgreSQL bug that was solved in latest minor version. Can you do a rebuild? That will update the PostgreSQL to latest minor.

---

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