joereynolds / SQHell.vim

An SQL wrapper for vim
MIT License
131 stars 9 forks source link

SQHexecute spawn errors on postgres #58

Open habamax opened 5 years ago

habamax commented 5 years ago

SQHexecute doesn't work for me

OS: win10 Vim: 8.1.1963

"" SQLHell setup
let g:sqh_connections = {
    \ 'default': {
    \   'user': 'postgres',
    \   'password': '',
    \   'host': 'localhost'
    \}}

image

It works with vim-dadbod though

joereynolds commented 3 years ago

Have you changed the provider? SQHell assumes a MySQL connection by default. You'll need to tell it what to use;

let g:sqh_provider = 'psql'