Skip to content

Conversation

@cruvie
Copy link

@cruvie cruvie commented Sep 25, 2025

fix #1551

cruvie and others added 4 commits September 14, 2025 23:43
The convertSimpleArgument function now properly handles driver.Valuer interface
by calling the Value() method when the argument implements driver.Valuer.
This ensures that custom value types implementing driver.Valuer are correctly
processed before being passed to the PostgreSQL type encoding system.

This change makes the behavior consistent between simple and extended query
protocols regarding driver.Valuer handling.
…prioritize handling renamed base types - avoiding renamed base types being automatically treated as string types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

convertSimpleArgument converts everything to string

1 participant