asyncpg
asyncpg copied to clipboard
A fast PostgreSQL Database Client Library for Python/asyncio.
`__aenter__` in `PoolAcquireContext` should be defined to return a `Connection` type. This will help IDEs to properly help suggesting methods when using syntax: ```python with my_pool.acquire() as con: con #...
This is my initial stab at #152. Feedback would be appreciated, and I am sure I am not doing things the way you would prefer. A couple notes: 1. I...
This change might not be for everyone, so I respect the right of the core maintainers to downvote/close. The backstory here is that I am using `asyncpg` to connect to...
* **asyncpg version**: 0.21.0 and lower * **PostgreSQL version**: 11 * **Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?**:...
### Discussed in https://github.com/MagicStack/asyncpg/discussions/1068 Originally posted by **amacfie-tc** August 21, 2023 I received the following error, does anyone know what it means? In the SQLAlchemy engine, `pool_pre_ping` is set to...
* **asyncpg version**: 0.28.0 * **PostgreSQL version**: 14.7 * **Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?**: Issue occurs...
* **asyncpg version**: 0.27.1 * **PostgreSQL version**: 14.6 * **Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?**: No. *...
Currently, you have to execute a dummy query like `SELECT 1` every time you want to get a hold of new notifications from the server. Can anything similar to aiopg...
* **asyncpg version**: 0.27.0 * **PostgreSQL version**: 14.7 * **Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?**: We can...
* **asyncpg version**: 0.27.0 * **PostgreSQL version**: 15.1 * **Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?**: local *...