Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server, ui: update prettify parameter
Previously, we were using `PrettyAlignAndDeindent` parameter option for the usage of `prettify_statement` on statement details endpoint and insights details endpoints, which was subjected to a quadratic explosion. This commit updates those uses to parameter `PrettyAlignOnly` (1) on sql api and changes the statement details endpoint to use the Go function of Pretty instead, so it doesn't required a SQL connection/execution. Part Of cockroachdb#91197 Release note: None
- Loading branch information