MagicStack / asyncpg

A fast PostgreSQL Database Client Library for Python/asyncio.
Apache License 2.0
6.99k stars 404 forks source link

Do not try to cleanup anonymous statements #981

Closed fvannee closed 1 year ago

fvannee commented 1 year ago

This supports a case where we prepare an unnamed statement to inspect the return types. The statement should not be cleaned up afterwards because it is automatically cleaned up by Postgres

Fixes: #982