Refer to https://github.com/kyleconroy/sqlc/issues/1097 We could create a PR to remedy the issue.