• N
    ic-proxy: include postmaster pid in the domain socket path · 5c5a358a
    Ning Yu 提交于
    We used to store them under /tmp/, we include the postmaster port number
    in the file name in the hope that two clusters will not conflict with
    each other on this file.
    
    However the conflict still happen in the test src/bin/pg_basebackup.
    And it can also happen if a second cluster is missed configured by
    accident.  So to make things safe we also include the postmaster pid in
    the domain socket path, there is no chance for two postmasters to share
    the same pids.
    Reviewed-by: NPaul Guo <pguo@pivotal.io>
    5c5a358a
ic_proxy.h 1.4 KB