-
Notifications
You must be signed in to change notification settings - Fork 180
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
Revamp the infos in the header #258
Conversation
Still WIP, with no test yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work so far. Just noted a few things after a quick read but no real blocker :)
I'll do a more in-depth review when this will be ready on your side.
@dlax : I wonder if it's necessary to have two separate functions + queries for |
Agreed. |
164fedc
to
cce3401
Compare
eea1b9a
to
e8c58ce
Compare
fbb7c22
to
41c0b3b
Compare
339b7e3
to
abd14d5
Compare
157a970
to
f3f99a3
Compare
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggesting minor improvements. LGTM overall.
Commits should be squashed before merging, also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just added an extra commit to hide the "i" key from help when not in local mode.
LGTM otherwise. Can you rework the git history before we merge this?
This patch aims to expand and revamp the information present in the header. The informations is now split in tree groups. Instance info: * Add more instance informations: utptime, and revamp the existing info; * Add session status info; * Add activity profile info; * can be toggle with the i key. Worker info: * Add the worker count info: for parallelism / logical replication but also autovacuum, walsender, and walreceiver; * can be toggle with the w key. System info: * Reformat the sytem information. * can be toggle with the s key. Any combination of theses groups can be active at a given time.
54f46d2
to
c0b8791
Compare
Added the new parameters in the man page and fixed the "process" name there (=> "worker process"). |
I think it's good to merge now. I dont get which review change It's complaining about... |
This patch aims to expand and revamp the information present in the
header. The informations is now split in tree groups.
Instance info:
Worker info:
autovacuum, walsender, and walreceiver;
System info:
Any combination of theses groups can be active at a given time.
(related to see #213)