Skip site navigation (1) Skip section navigation (2)

Re: unix_socket

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom Allison <tallison(at)tacocat(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: unix_socket
Date: 2004-05-25 23:44:54
Message-ID: 29024.1085528694@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Tom Allison <tallison(at)tacocat(dot)net> writes:
> I'm trying to configure postfix to use the postgres database for lookups.
> Since I have a localhost based server, I was going to use unix_sockets.

> The postfix docs call for a /directory/name.
>                inet: for TCP connections (default).  Example:
>                    hosts = host1.some.domain host2.some.domain
>                    hosts = unix:/file/name

I suspect you want to say unix:/tmp/.s.PGSQL.5432
(adjust if you are using a nonstandard port number)

			regards, tom lane

In response to

pgsql-general by date

Next:From: Gaetano MendolaDate: 2004-05-26 00:21:32
Subject: Re: Poatgresql database on more than one disk
Previous:From: BarryDate: 2004-05-25 23:33:06
Subject: Poatgresql database on more than one disk

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group