New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement additional context specific sql interfaces #768
Conversation
Currently context methods on Conn are provided in the conn_go18.go file. I think it's best if you move these stmt context methods there too. A next PR could potentially merge the conn*.go files as it seems minimum required version for lib/pq is Go 1.9. |
@basvanbeek Are there any additional changes you'd like to see? |
Any update on this? I tried to use a prepared COPY IN statement inside a context-aware transaction. When the context is canceled, Code to reproduce the race condition is here. |
any update? i hope this PR to be merged |
Is there anything blocking this change? It is surprising behavior that contexts are supported properly when using |
🤷 |
I mean, I understand that the maintainers do not owe us anything, but it would sure be nice to hear back if we can do anything to get this merged! It appears that there are several "forks" popping up mostly for the purpose of merging this patch, so it's somewhat splitting up the users, which seems like a bad idea... |
I didn't really read it over in detail. Someone tell me if it breaks anything. |
This breaks things
|
Above snippet is the output of executing |
Thanks. Reverted. |
This PR was from 1.5 yrs ago. Give me a second and I'll updated it. |
I didn't realize I hadn't re-run the CI tests which have changed a lot since then. Thanks for getting another one together. |
No description provided.