vim-dadbod icon indicating copy to clipboard operation
vim-dadbod copied to clipboard

Postgres not connecting on non-default port

Open LawyerVid opened this issue 1 year ago • 1 comments

Awesome work on this as always, but it's not finding a postgres database when it's given a connection string that uses a port other than 5432 (5435 in my case). Yes... I know setting up two different versions of postgres is dumb, but shockingly this isn't even the dumbest thing I've done this week and I'm too far down this rabbit hole at this point.

My connection string:

postgresql://bigsexy:someUselessPassword123@localhost:5435/ulld_test

And my app, Postico, and psql can connect using the same string.

Thanks in advance, and again... it's an awesome plugin still.

LawyerVid avatar Apr 20 '24 01:04 LawyerVid

The URL is passed more or less directly to psql. Make sure you can run psql postgresql://bigsexy:someUselessPassword123@localhost:5435/ulld_test.

tpope avatar Apr 20 '24 14:04 tpope