Skip to content

Make a single command to start the SQL client regardless of the binary #79850

@ianjevans

Description

@ianjevans

Is your feature request related to a problem? Please describe.

For ease of documenting and a more consistent user experience, there should be a single command to start the SQL client regardless of whether the user installed the full cockroach binary or just cockroach-sql.

In the docs, users should be able to copy/paste commands that are guaranteed to run the SQL client however it was installed.

Describe the solution you'd like

A single command (alias or otherwise) to start the SQL client. For example, cockroach-sql could be an alias to cockroach sql if the user installed the full binary.

Describe alternatives you've considered

Adding selectors to the docs to indicate how the binary was installed to alter the command would needlessly complicate the documentation.

cc @knz

Jira issue: CRDB-15891

Metadata

Metadata

Assignees

Labels

C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions