Skip to content
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

docgen: update savepoint-related definitions, bnfs #46048

Merged
merged 1 commit into from
Mar 16, 2020

Conversation

rmloveland
Copy link
Collaborator

@rmloveland rmloveland commented Mar 12, 2020

This change updates the syntax diagram definitions and generated BNF for
several SAVEPOINT-related statements, specifically:

  • Add the SHOW SAVEPOINT STATUS statement to the list of syntax diagrams
    generated by pkg/cmd/docgen

  • Add the SHOW SAVEPOINT STATUS BNF file to the other generated BNF
    files

  • Update ROLLBACK TO SAVEPOINT to note that the savepoint name does not
    have to be 'cockroach_restart'

It uses the changes in #45794, which enabled docgen for SHOW SAVEPOINT
STATUS.

It is part of the work surrounding #45566, which added preliminary SQL
savepoints support.

Release justification: low-risk update to documentation diagrams

Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rmloveland rmloveland requested a review from knz March 12, 2020 21:21
@knz
Copy link
Contributor

knz commented Mar 13, 2020

LGTM but please update the commit message and PR description to link to the proper PR - the number #45974 you used is not the correct one .

This change updates the syntax diagram definitions and generated BNF for
several SAVEPOINT-related statements, specifically:

- Add the SHOW SAVEPOINT STATUS statement to the list of syntax diagrams
  generated by pkg/cmd/docgen

- Add the SHOW SAVEPOINT STATUS BNF file to the other generated BNF
  files

- Update ROLLBACK TO SAVEPOINT to note that the savepoint name does not
  have to be 'cockroach_restart'

It uses the changes in cockroachdb#45794, which enabled docgen for SHOW SAVEPOINT
STATUS.

It is part of the work surrounding cockroachdb#45566, which added preliminary SQL
savepoints support.

Release justification: low-risk update to documentation diagrams

Release note: None
@rmloveland
Copy link
Collaborator Author

please update the commit message and PR description to link to the proper PR - the number #45974 you used is not the correct one

Done, sorry for the transposition typo!

@knz
Copy link
Contributor

knz commented Mar 14, 2020

thanks go ahead

@rmloveland
Copy link
Collaborator Author

bors r+

@craig
Copy link
Contributor

craig bot commented Mar 16, 2020

Build failed (retrying...)

@craig
Copy link
Contributor

craig bot commented Mar 16, 2020

Build succeeded

@craig craig bot merged commit 565c476 into cockroachdb:master Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants