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

pgcli disconnects when closing pager with q #1423

Open
zzantares opened this issue Oct 5, 2023 · 3 comments
Open

pgcli disconnects when closing pager with q #1423

zzantares opened this issue Oct 5, 2023 · 3 comments

Comments

@zzantares
Copy link

Description

Whenever I run a query that returns lots of rows the pager (less) gets activated (this is fine) if I then press q to exit the pager, then pgcli exits altogether and I end up having to reconnect to go back into the pgcli prompt. Is there something I need to configure to not have this behavior?

environment

  • Please provide your OS and version information: Ubuntu 22.04.3 LTS jammy
  • Please provide your CLI version: Version: 3.5.0 installed via nix.
@j-bennet
Copy link
Contributor

j-bennet commented Oct 7, 2023

@zzantares What is your PAGER variable set to?

@zzantares
Copy link
Author

@zzantares What is your PAGER variable set to?

$ echo $PAGER
less

@j-bennet thank you for looking into this!

@j-bennet
Copy link
Contributor

j-bennet commented Oct 8, 2023

Hmm, looks like we had this for a while, and not everyone is seeing this. This user only has an issue with one particular table:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants