python-postgres / be

pg-python: Execute Python 3 code from PostgreSQL functions.
Other
5 stars 2 forks source link

Postgres.Statement never releases output record type #22

Open jwp opened 14 years ago

jwp commented 14 years ago

However, it will reclaim outputs already created. This is a problem with the anonymous composite cache, and Postgres.Statement leveraging it to enable using operators with resulting rows. Large numbers of random SELECT-class queries will leak, provided that they tend to return different results.