sql,cli/sql: session var + display the tenant name in the SQL shell regardless of conn string #111491
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-multitenant
Issues owned by the multi-tenant virtual team
Is your feature request related to a problem? Please describe.
Requested by @amruss and @ajstorm : it would be useful to display the tenant name in the SQL shell irrespective of whether it was mentioned in the connection URL.
Currently, the tenant name is only displayed in the SQL shell prompt if the connection string contained it to start with. This is a problem when an "application tenant" is defined, because then it is used implicitely and its name is not mentioned in the connection string. So it does not appear in the SQL prompt.
Describe the solution you'd like
Epic: CRDB-26691
Jira issue: CRDB-31929
The text was updated successfully, but these errors were encountered: