Unable to start interactive session
From the readme:
Omit further arguments to spawn an interactive console (like psql or redis-cli).
:DB postgresql:///foobar:DB redis:
I can successfully run
:DB postgresql://twiclo@localhost/sc select * from service;
But running
:DB postgresql://twiclo@localhost/sc
Does seemingly nothing. My cursor will flash once so something is happening but I don't see any new buffer or interactive session. Am I missing something?
I'm having the same issue, checked previous issues, ran
:echo db#adapter#dispatch("postgresql://postgres@localhost/db", "interactive")
and I got
['psql', '-w', '--dbname', 'postgresql://postgres@localhost/db']
ran that command on the terminal and it worked, but when running :DB with only the URL, cursor blinks and nothing happens, but if a query is also supplied, it works with no issue.
For anyone experiencing this issue, I had to install tpope/vim-dispatch to get this working. I thought it was optional though:
:DB [url] Start an interactive database console. Uses
dispatch.vim's |:Start| if available.