\e is not working on pgcli 1.5.0 installed via brew
See original GitHub issueConversation from gitter:
When I write
select 1 \e
, I correctly seeselect 1
in my editor. When I edit and quit, I don’t seeselect 2
. I don’t see anything at all. If I type;<RET>
, I get the can’t execute an empty query error message.nvim 0.1.7, macOS Sierra (10.12.1). nvim exits normally when I do the same thing from bash. And it works with psql. I believe it also worked fine in pgcli prior to my last brew upgrade, but I’m not sure what version I was on previously. Judging by
brew list --versions pgcli
, I was probably on 1.3.1_1.
I’m unable to reproduce it since my brew setup is screwed up.
Steps to reproduce:
- brew update && brew install pgcli
- Launch pgcli
- Type
select 1 \e
- Change the query to
select 2
in the editor. - Save and quit the editor.
- Check to see if the prompt shows
select 2
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Install
The easiest way install pgcli on an macOS machine is to use Homebrew. Please be aware that this will install postgresql if it's...
Read more >PostgreSQL update during pgcli installation via Homebrew
I tried removing postgresql from formula completely, but that does not work, fails on brew install --build-from-source pgcli . So instead, I ...
Read more >dbcli/pgcli
I'm on pgcli 1.5 (installed via homebrew) and \e doesn't seem to work. ... I am now back on 1.5.0, and \e doesn't...
Read more >Brew update and Postgres error - Karttur on GitHub.com
This caused a connection error and I could not get into my postgres database, either via port 5432 or direct access via psql....
Read more >PostgreSQL not running on Mac
This happens when postgres server is not running. Steps to properly install Postgres via Homebrew on MAC : brew install postgres.
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
The fix is merged to master. To install from master:
pip install -U https://github.com/dbcli/pgcli/archive/master.zip
@giodamelio This works for me with
pgspecial==1.8.0
. Please try updating that:pip install pgspecial==1.8.0
.