will / crystal-pg

a postgres driver for crystal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UNIX sockets

remydev opened this issue · comments

Hello,

The documentation does not mention how to connect to postgres through UNIX sockets. Is that currently possible?

Cheers,

Yes, if the host starts with a / it's assumed to be a unix socket

getter host : String

That means relative paths are not supported?