pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: postgresql connection defaults



Jörg Sonnenberger <joerg%bec.de@localhost> writes:

> On 6/4/25 3:43 PM, Greg Troxel wrote:
>>    PG:host=/tmp/.s.PGSQL.5432
>
> That should be host=/tmp (and optionally port=5432).

I see that in the docs.  It is just so bizarre that I didn't expect it
or absorb it the first time.  Are you saying that for host=/tmp, when
it's unix domain socket, that the socket is .s.PGSQL.${port}, turning
what I would have expected a "unix domain sockets are a fs path" into
something with a fake port in the pathname?


Home | Main Index | Thread Index | Old Index