Skip to content
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: order show regions from database by primary region #59249

Closed
awoods187 opened this issue Jan 21, 2021 · 0 comments · Fixed by #59407
Closed

sql: order show regions from database by primary region #59249

awoods187 opened this issue Jan 21, 2021 · 0 comments · Fixed by #59407
Assignees
Labels
A-multiregion Related to multi-region C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Comments

@awoods187
Copy link
Contributor

It'd be nice if ordered the results in SHOW REGIONS FROM DATABASE by primary region to make it easier to read:

root@127.0.0.1:26257/movr> SHOW REGIONS FROM DATABASE movr;
  database |    region    | primary |  zones
-----------+--------------+---------+----------
  movr     | europe-west1 |  false  | {b,c,d}
  movr     | us-east1     |  true   | {b,c,d}
  movr     | us-west1     |  false  | {a,b,c}
(3 rows)

Time: 14ms total (execution 13ms / network 0ms)
@awoods187 awoods187 added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-multiregion Related to multi-region labels Jan 21, 2021
@craig craig bot closed this as completed in e753849 Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-multiregion Related to multi-region C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants