Skip to content

docgen: expose WITH/WITHOUT HOLD syntax in SQL cursor diagram #146458

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

Merged
merged 1 commit into from
May 12, 2025

Conversation

taroface
Copy link
Collaborator

@taroface taroface commented May 9, 2025

This PR exposes the WITH HOLD / WITHOUT HOLD syntax in the DECLARE ... CURSOR diagram as follows:

image

Relates to cockroachdb/docs#19590.

Epic: none
Release note: none
Release justification: non-production code change

@taroface taroface requested a review from DrewKimball May 9, 2025 17:04
@taroface taroface added the backport-25.2.x Flags PRs that need to be backported to 25.2 label May 9, 2025
Copy link

blathers-crl bot commented May 9, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: Thanks!

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @taroface)

@taroface
Copy link
Collaborator Author

taroface commented May 9, 2025

bors r=DrewKimball

craig bot pushed a commit that referenced this pull request May 9, 2025
146458: docgen: expose WITH/WITHOUT HOLD syntax in SQL cursor diagram r=DrewKimball a=taroface

This PR exposes the WITH HOLD / WITHOUT HOLD syntax in the DECLARE ... CURSOR diagram as follows:

<img width="903" alt="image" src="https://github.com/user-attachments/assets/92c448fa-143b-47bb-aa8a-38b68542e123" />

Relates to cockroachdb/docs#19590. 

Epic: none
Release note: none
Release justification: non-production code change

Co-authored-by: Ryan Kuo <[email protected]>
@craig
Copy link
Contributor

craig bot commented May 9, 2025

Build failed:

@taroface
Copy link
Collaborator Author

taroface commented May 9, 2025

@DrewKimball Can you tell why this build failed?

@taroface
Copy link
Collaborator Author

bors r=DrewKimball

@craig craig bot merged commit 6392ea1 into cockroachdb:master May 12, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-25.2.x Flags PRs that need to be backported to 25.2 target-release-25.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants