Commit

1578e9e

Ran into a sneaky memory issue where persistent PHP connections were leaking prepared statement handles across worker loops in Postgres. Calling DEALLOCATE ALL when resetting connection states or using unbuffered query modes in long-lived scripts keeps backend memory completely…
This kind of things attracts me a lot. This generally happens at a granular level. You've caught there. Great! Did you work with postgres driver provided by the language you worked on? Cause the driver or the driver wrapper lib is supposed to take of this issue.

commit 1578e9e