[dev] conflics with libpq
manlio_perillo at libero.it
Sun Sep 16 17:31:51 MSD 2007
I'm writing an extension module that uses the postgresql library.
I have found that there is a conflict with libpq headers.
If I include <libpq-fe.h> before nginx headers, then nginx will not work.
In the request handler, r->method has wrong values
(as an example 1189949249, and it randomly increments by 1) and when I
use the log functions, I get a SIGIO.
If I include nginx headers first, all works fine, but I think that it
may be interesting to understand why this is happening.
More information about the nginx