Skip to content

Avoid performing type introspection on known types #1243

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 15, 2025

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!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
4 participants