unix_socket - Mailing list pgsql-general

From Tom Allison
Subject unix_socket
Date
Msg-id 40B3D068.4010505@tacocat.net
Whole thread Raw
Responses Re: unix_socket  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: unix_socket  (Tom Allison <tallison@tacocat.net>)
List pgsql-general
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 postgres docs call for only a /directory.

unix_socket_directory (string)

        Specifies the directory of the Unix-domain socket on which the
    server is to listen for connections from client applications. The
    default is normally /tmp, but can be changed at build time.

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

--------------
How do I get this sorted out so that I can make a unix connection?


pgsql-general by date:

Previous
From: Janning Vygen
Date:
Subject: Re: About table schema
Next
From: Tom Lane
Date:
Subject: Re: unix_socket