resizing pgcli kills the query and connection
See original GitHub issueDescription
i work with a tiling window manager and every time, a long runnung query is active and i resize the terminal emulator i kill the current query:
(4, 'Interrupted system call')
and i have to quit pgcli and reconnect
Your environment
- i3-gaps
- alacritty terminal emulator
- pgcli version 2.0.2
$ neofetch
_,met$$$$$gg. easteregg@x250
,g$$$$$$$$$$$$$$$P. --------------
,g$$P" """Y$$.". OS: Debian GNU/Linux buster/sid x86_64
,$$P' `$$$. Model: 20CM001RGE ThinkPad X250
',$$P ,ggs. `$$b: Kernel: 4.20.14-towo.1-siduction-amd64
`d$$' ,$P"' . $$$ Uptime: 6 days, 1 hour, 4 minutes
$$P d$' , $$P Packages: 3856 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.0.2
$$; Y$b._ _,d$P' Resolution: 3840x2160, 1920x1080
Y$$. `.`"Y$$$$P"' WM: i3
`$$b "-.__ Terminal: alacritty
`Y$$ CPU: Intel i7-5600U (4) @ 3.200GHz
`Y$$. GPU: Intel HD Graphics 5500
`$$b. Memory: 5127MiB / 15765MiB
`Y$$b.
`"Y$b._
`"""
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
postgres - pgcli
Resizing pgcli terminal kills the connection to postgres in python 2.7 (Thanks: Amjith Ramanujam); Fix crash retrieving server version with --single-connection.
Read more >pgcli/changelog.rst at main - GitHub
New formatter is added to export query result to sql format (such as sql-insert, ... Resizing pgcli terminal kills the connection to postgres...
Read more >Queries on large database kill connection to the server, works ...
I'm trying to run queries on a large-ish database without killing the connection to the server. I'm using Postgres 12.1 on a mac...
Read more >PostgreSQL deployments - Sourcegraph handbook
Connecting to Postgres. Install the command line tools; Command line only use (pgsql); Proxy for advanced use · Example queries · Performance monitoring....
Read more >Kill a postgresql session/connection - database - Stack Overflow
Before executing this query, you have to REVOKE the CONNECT privileges to avoid new connections: REVOKE CONNECT ON DATABASE dbname FROM PUBLIC, username;....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s awful. I just checked it on my machine and I’m able to reproduce it. I’ll dig into this one. Sorry about the trouble.
thank you very much with all your efforts and the great responsetime!