-
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
scrolling and wrapping #260
Comments
I honestly am not fond of the wrapping thing and disable it. |
I like the way htop does it. It would be cool if we could "find" a little more space on the screen to display more of the unwrapped query. Maybe having a switch to hide the ["cpu%" "mem%" "Read/s" "Write/s"] would do ? Or a key to circle between displaying :
|
I like the idea of cycling through a subset of columns.
|
A quick readable summary of the available display modes in pg_activity :
In my opinion :
|
I like the way htop does it (at least, what you said it did). -w1, -w2, and -w3 are great too. They sound like good options to have. |
Easy answer: implement all options , as different people will like different things I personally am rather neutral, as I don't try to read complex queries in pg_activity, the beginning is usually enough to identify them and see what's running and what is blocking. I could change my mind though. |
As noticed in #239, and described in more details in #257, scrolling is broken when queries are wrapped.
At the moment, I don't see any good solution to this issue: changes from #257 look very strange to me (the list of processes shrinking while one scrolls down and then suddenly being reset upon wrap around).
So I've looked at what htop does:
Should we do the same in pg_activity?
That would mean drop the various wrapping options (command line flags and key bindings). But it seems to me that having the complete query displayed in a dedicated window could be interesting.
Thoughts?
The text was updated successfully, but these errors were encountered: