Repository navigation
docs: Correct the README's design notes on connections and results - #672
Merged
Merged
Conversation
The design notes claimed that connection and result objects point to the same external pointer. A result has its own pointer, and the connection only remembers its current result set. The driver and one-result-per-connection points are already in the goals and non-goals section. Fixes #670. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Member
Author
|
Accepted limitations None remain after two clean review rounds. (Claude Code, session https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc) Generated by Claude Code |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Design notes" section of the README said that the connection and result objects point to the same external pointer.
That is not true: a
PqResulthas its ownptr, created byresult_create(conn@ptr, ...), andidentical(con@ptr, res@ptr)isFALSEon CRAN 1.4.10.A new query while a result set is open warns, cancels the old query if it has not completed, and invalidates the old result.
The driver and one-result-per-connection text is dropped, since "Goals and non-goals" already covers it.
This resolves the wording limitation accepted on docs: State the goals and non-goals #607.
README.Rmdis edited, andREADME.mdandindex.mdare re-rendered.Fixes #670.
https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Generated by Claude Code