Skip to content

Scanning into a UUID #1918

Answered by jackc
DanielvPhung asked this question in Q&A
Feb 24, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

As far as pgx is concerned, it doesn't care what the query actually is, just what arguments it takes and what results it returns. i.e. there shouldn't be any different in the queries. I'm fairly certain the problem is somewhere else in your application code.

See if you can duplicate the issue in a completely standalone example. Also, see if the insert works in psql. I would only expect to see that PostgreSQL error with an invalid argument ... for example, if hashPassword is a []byte with raw binary values and you are inserting it into a PostgreSQL text column.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@DanielvPhung
Comment options

@jackc
Comment options

Answer selected by DanielvPhung
@DanielvPhung
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants