-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
document pg_guard to the best of my abilities #1729
document pg_guard to the best of my abilities #1729
Conversation
Code execution then finds its way to `errfinish()` where, finally, `siglongjmp()` is called to instantly move the stack | ||
back to the frame where Postgres began the current transaction (where it previously created a `sigsetjmp()` point). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. This should probably clarify that it moves the state to that exact point-in-time of the sigsetjmp, "right after" it was called.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I understand what you mean, but I'm not quite sure of the words you'd want to explain it. I'll let you add this point. ;)
Co-authored-by: Jubilee <[email protected]>
Co-authored-by: Jubilee <[email protected]>
Co-authored-by: Jubilee <[email protected]>
Co-authored-by: Jubilee <[email protected]>
Co-authored-by: Jubilee <[email protected]>
Co-authored-by: Jubilee <[email protected]>
Co-authored-by: Jubilee <[email protected]>
Co-authored-by: Jubilee <[email protected]>
@workingjubilee I think this is good enough. I left #1729 (comment) for you. As I said, I'm not quite sure how you'd want that to be explained. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. Thanks! I'll take a look at poking the last thing I mentioned later.
Closes #1406