Jack Christensen
Jack Christensen
> Do you think this is a relevant feature to be added to the project? I think it is a reasonable feature. But it might be a bit tricky to...
Any chance someone could post a reproduction case here?
@kardianos I implemented the change in https://github.com/golang/go/pull/67648. I also made a PR for pgx that implements this interface (https://github.com/jackc/pgx/pull/2029). With both of those PRs applied, the queries like the following...
@kardianos > I'm not concerned about saving a single allocation in Next per result set. It could potentially remove significantly more overhead than just the allocation of a `[]driver.Valuer`. The...
I just pushed a commit that expands on the docs for `driver.RowsColumnScanner`. But I'm not really sure what else to say beyond what's there and my original post above. In...
@bitpossum Apparently it needed some additional doc files in api/next and doc/next. I think it should be resolved now.
@kardianos @rsc Is the order of the arguments to ScanColumn significant? @bitpossum just let me know that my original implementation had the order one way, but the accepted CL reversed...
@ianlancetaylor No reason to use the other order. I can change it. The original implementation predated the accepted proposal and I had not noticed that it had been changed in...
@ncruces The driver knows whether it will be handling all Scan calls or whether it will be delegating / passing through to the underlying database/sql scan implementation.
Ah, right. The driver would need to handle that case. But that should be possible to handle at compile time without too much difficulty.