-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: show all indexes on a database #37270
Comments
what kind of syntax would you be looking for in this command? It is unclear how to support in the parser both |
Progress on the command requested in cockroachdb#37270. Release note (sql change): Add frontend support for a command that shows all indexes of all tables in a database.
Progress on the command requested in cockroachdb#37270. Release note (sql change): Add frontend support for a command that shows all indexes of all tables in a database.
Implements the feature requested in cockroachdb#37270. Release note (sql change): Support a show indexes from database command
Implements the feature requested in cockroachdb#37270. Release note (sql change): Support a show indexes from database command
Implements the feature requested in cockroachdb#37270. Release note (sql change): Support a show indexes from database command
37942: sql: Adding support for show indexes from database command r=rohany a=rohany As requested in #37270, support for a show indexes from database command would be helpful. This PR includes support for the command in the parser. Future PR's will implement the functionality of the parsed results. 37977: cli: fix use of IPv6 addresses with RPC client commands r=knz a=knz Fixes #33008. (This was actually a regression of my doing, back from #28373. Didn't pick it up back then because we didn't have a test.) Release note (bug fix): the `cockroach` command line utilities that internally use a RPC connection (e.g. `cockroach quit`, `cockroach init`, etc) again properly support passing an IPv6 address literal via the `--host` argument. Co-authored-by: Rohan Yadav <[email protected]> Co-authored-by: Raphael 'kena' Poss <[email protected]>
Implement in #37942. You can use the command |
Describe the problem
We have a
show index from table
command but it'd be useful to see all of the indexes on a database with ashow index from database
or something similar. It could work something like this underneath the hood from MySQL:And presents something like this:
The text was updated successfully, but these errors were encountered: