Version
1.16.0
What happened?
You can find a reproducible example in this repository
A brief explanation of what happened is in README.md
Relevant log output
sqlc generated code is here https://github.com/pexarkh/sqlc-bug/blob/main/pkg/database/q.sql.go
Database schema
https://github.com/pexarkh/sqlc-bug/blob/main/database/schema/s.sql
SQL queries
https://github.com/pexarkh/sqlc-bug/blob/main/database/queries/q.sql
Configuration
https://github.com/pexarkh/sqlc-bug/blob/main/database/sqlc.yaml
Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
No response
What type of code are you generating?
Go
Version
1.16.0
What happened?
You can find a reproducible example in this repository
A brief explanation of what happened is in README.md
Relevant log output
Database schema
SQL queries
Configuration
https://github.com/pexarkh/sqlc-bug/blob/main/database/sqlc.yamlPlayground URL
No response
What operating system are you using?
macOS
What database engines are you using?
No response
What type of code are you generating?
Go