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

sql,docgen: enable doc gen for SHOW SAVEPOINT STATUS #45794

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

knz
Copy link
Contributor

@knz knz commented Mar 6, 2020

The SHOW SAVEPOINT STATUS statement is getting documented, so there's
no point in excluding it from the syntax diagrams.

Release note: None

@knz knz requested review from andreimatei and rmloveland March 6, 2020 11:33
The SHOW SAVEPOINT STATUS statement is getting documented, so there's
no point in excluding it from the syntax diagrams.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz knz force-pushed the 20200306-sp-status branch from 4b322ea to 17b450c Compare March 6, 2020 11:33
Copy link
Collaborator

@rmloveland rmloveland left a comment

Choose a reason for hiding this comment

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

Thanks Raphael - I will generate the diagram for this statement and add it to the docs PR.

@knz
Copy link
Contributor Author

knz commented Mar 6, 2020

bors r=rmloveland

@craig
Copy link
Contributor

craig bot commented Mar 6, 2020

Merge conflict (retrying...)

@knz
Copy link
Contributor Author

knz commented Mar 6, 2020

bors r-

@craig
Copy link
Contributor

craig bot commented Mar 6, 2020

Canceled

@knz knz merged commit 5987886 into cockroachdb:master Mar 6, 2020
@knz knz deleted the 20200306-sp-status branch March 6, 2020 16:31
rmloveland added a commit to rmloveland/cockroach that referenced this pull request Mar 13, 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 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
craig bot pushed a commit that referenced this pull request Mar 16, 2020
45962:  sql: re-add GC job on schema element deletion r=pbardea a=pbardea

This commit creates GC jobs upon the deletion of an index, table or
database. Similarly to the previous implementation, it considers the
walltime at which the schema change completed to be the drop time of the
schema element.

Release note (sql change): Previously, after deleting an index, table,
or database the relevant schema change job would change its running
status to waiting for GC TTL. The schema change and the GC process are
now decoupled into 2 jobs.

Release justification: This is a follow up to the migration of turning
schema changes into actual jobs. This commit re-adds the ability to
properly GC indexes and tables.

46048: docgen: update savepoint-related definitions, bnfs r=rmloveland a=rmloveland

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

Co-authored-by: Paul Bardea <[email protected]>
Co-authored-by: Rich Loveland <[email protected]>
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.

3 participants