I just want to know in which case NextResultSet return true?
I tried all the cases it is always returning false. If so then what is use case of implementing NextResultSet?
Could you please give me at least one case where NextResultSet return true.
Before giving your answer, i would suggest you to do sample program on NextResultSet where it can return true case.
I hope you got my Question.
After reading Lutz's sample code. I found lib/pq has different semantics.I'm not sure which is the right semantics, intended by database/sql APIs.