-
Notifications
You must be signed in to change notification settings - Fork 3.9k
sql: SHOW CREATE ALL ROUTINES #147452
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
base: master
Are you sure you want to change the base?
sql: SHOW CREATE ALL ROUTINES #147452
Conversation
…ate_all_routines statement
…rator functionality to query crdb_internal tables for function and procedure create statements
refactor to use IDs to prevent buffer memory overcapacity Works towards cockroachdb#144708 Release note (sql change): The SHOW CREATE ALL ROUTINES statement
Release note: None Previously, there were no tests. Now, there are more tests than there were before. This needed to change because tests are good. To address the lack of tests, I made tests.
Release note: none Added the show_create_all_routine test to show_routines test data to prevent clutter. Epic: none
Previously, it was failing due to whitespace issues. I added some whitespace and now it works with --rewrite enabled. Release note: None Epic: none
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.
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @OriSavir)
docs/generated/sql/bnf/frobnicate_stmt.bnf
line 1 at r1 (raw file):
frobnicate_stmt ::=
It seems the frobnicate code was forgotten to be removed here.
Removed the files related to frobnicate, which were left over from doing the codelab as generated files. Release note: None Epic: none
Thanks for pointing that out! Removed the file related, I think it was from running |
Addresses #144708
Adds SHOW CREATE ALL ROUTINES, which returns a table with all available routines' create statements.