[pgpool-general: 879] Re: pgpool-II 3.2.0 build fails on Solaris 10
ishii at postgresql.org
Tue Aug 7 18:58:18 JST 2012
> I have the same problem on Solaris 10 x86, it seems to be a global problem with pgpool 3.2 on Solaris platforms, because there is no flock functions on Solaris, but only in "BSD Compatibility Library Functions" (/usr/ucblib/libucb.a)
> According to the manual of flock:
> "Use of these interfaces should be restricted to only appli-
> cations written on BSD platforms. Use of these interfaces
> with any of the system libraries or in multi-thread applica-
> tions is unsupported."
> Afaik the right solutions of file locking in Solaris is to use lockf(3C) function http://www.s-gms.ms.edus.si/cgi-bin/man-cgi?lockf+3C
Anybody volunteers to write a patch using lockf() for Solaris?
SRA OSS, Inc. Japan
More information about the pgpool-general