Skip to content

Conversation

elprans
Copy link
Member

@elprans elprans commented Mar 15, 2025

Type codec setup functions will no longer attempt to introspect the type
if it's one of the known builtin types.

Fixes: #1206
Fixes: #1138
Fixes: #1242

@elprans elprans force-pushed the avoid-introspection-on-builtin-types branch from 5cf5fc4 to e3b24a6 Compare March 15, 2025 00:59
Type codec setup functions will no longer attempt to introspect the type
if it's one of the known builtin types.

Fixes: #1206
Fixes: #1138
Fixes: #1242
@elprans elprans force-pushed the avoid-introspection-on-builtin-types branch from e3b24a6 to 9cd0867 Compare March 15, 2025 01:10
@elprans elprans merged commit 5c9986c into master Mar 15, 2025
41 checks passed
@elprans elprans deleted the avoid-introspection-on-builtin-types branch March 15, 2025 01:29
@antonmyronyuk
Copy link
Contributor

Hi @elprans! Is it possible to release a new version with removal of introspection query?

Having some issues with stucked transactions (TYPE_BY_OID) on PostgreSQL under heavy load. This update should fix such cases as well.

Thank you in advance!

@elprans
Copy link
Member Author

elprans commented Mar 31, 2025

I'll get around to cutting a release this week at some point.

@sumersao
Copy link

sumersao commented Apr 4, 2025

Thank you @elprans. We're also experiencing this, so glad to see it was resolved already! Looking forward to the release 🙏🏾

@yyuliababenko
Copy link

Hi @elprans, waiting for the new release as well!

@alex-tolstov
Copy link

Hello @elprans ! Could you please promote a new release involving those bugfixes? We'd highly appreciate it!

@dmkulazhenko
Copy link

Hi @elprans! looking forward to release 🚀

@brandfocus
Copy link

brandfocus commented Jun 26, 2025

@elprans Is a new release still planned?

For anyone looking to patch this in the interim, update your pyproject.toml to the following:

asyncpg = {git = "https://github.com/MagicStack/asyncpg.git", rev = "5c9986c4ae4e52a650b6592681ae9ea81ed2d70a"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants