Q038error
Conflicting keyword arguments
Two keyword arguments that cannot be combined are both set.
db/queries/example.sql:2:31: error[Q038]: sgl.param: keyword arguments "default" and "optional" are mutually exclusive; pick one
Printed by sgl from a small PostgreSQL reproduction project.
When it is reported
For example, sgl.column takes either type: (an SQL type) or go_type: (a Go type), not both. The span points at the second.
How to fix it
Remove one of them.
See it in an example
In your terminal
$ sgl explain Q038
Look for MutuallyExclusiveKeywordArgument in Seagull's source to see where it is reported.