Thread: pgsql: If we're going to test for switch validity by observing whether

pgsql: If we're going to test for switch validity by observing whether

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
If we're going to test for switch validity by observing whether the
compiler emits any warnings, the test program had better be 100%
correct, not only 90% correct.  The recent addition of -Wold-style-definition
broke thread-safety detection on every platform that has that switch,
because the test program used an old-style definition.

Modified Files:
--------------
    pgsql/config:
        acx_pthread.m4 (r1.8 -> r1.9)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/config/acx_pthread.m4.diff?r1=1.8&r2=1.9)
    pgsql:
        configure (r1.403 -> r1.404)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.403&r2=1.404)