asyncpg
asyncpg copied to clipboard
A fast PostgreSQL Database Client Library for Python/asyncio.
* **asyncpg version**: 0.30.0 * **PostgreSQL version**: 16 * **Do you use a PostgreSQL SaaS? If so, which?**: Yes, I am using NeonDB * **Can you reproduce the issue with...
Now that https://github.com/MagicStack/asyncpg/pull/1197 landed I could take the patch I suggested in https://github.com/MagicStack/asyncpg/pull/578 and add some more minor changes. Therefore, this closes https://github.com/MagicStack/asyncpg/pull/578 and closes https://github.com/MagicStack/asyncpg/pull/521 In the long run,...
* **asyncpg version**: 0.30.0 * **PostgreSQL version**: 17.2 * **Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?**: No *...
This adds typing to an important `NamedTuple` in this module that will allow using types in a lot of other functions that have a reference to this object. The final...
We can actually enable `mypy --strict` for this module now :) Typing decorators correctly is notoriously hard and you need some pretty advanced concepts, but this does the trick. I...
When multiples hosts are specified, either pool or connection could use any of them (depending on target_session_attrs). It would be nice to have a way to retrieve the actual (connected)...
* **asyncpg version**: 0.30.0 * **PostgreSQL version**: 16 * **Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?**: CloudSQL with...
I'd like to implement my own CursorIterator, but I can't find a straightforward way of getting it done via asyncpg public interface. Currently it's created by CursorFactory, which in turn...
Consider the following: ```python import asyncio import asyncpg async def main() -> int: connection_string = "postgresql://postgres:[email protected]:5432/postgres" conn = await asyncpg.connect(connection_string) result = await conn.fetch("SELECT 1 + 1 AS num", record_class=Row)...
* **asyncpg version**: 0.30.0 * **PostgreSQL version**: QuestDB 8.1.4 * **Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?**: -...