Thread: pgsql: Remove pg_trace.h inclusion from c.h and add it to the .c files

pgsql: Remove pg_trace.h inclusion from c.h and add it to the .c files

From
alvherre@postgresql.org (Alvaro Herrera)
Date:
Log Message:
-----------
Remove pg_trace.h inclusion from c.h and add it to the .c files that need it.
Only needed in 8.3 because it's already this way in HEAD, and older branches
did not support DTrace.  This allows external modules to compile on Linux
machines where SystemTap support was recently added, when the required
SystemTap headers are not present on the build machine.

Approach suggested by Tom, after a RPM build trouble report by Devrim Gunduz.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xact.c (r1.257.2.2 -> r1.257.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c?r1=1.257.2.2&r2=1.257.2.3)
    pgsql/src/backend/storage/lmgr:
        lock.c (r1.181.2.1 -> r1.181.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lock.c?r1=1.181.2.1&r2=1.181.2.2)
        lwlock.c (r1.50 -> r1.50.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lwlock.c?r1=1.50&r2=1.50.2.1)
    pgsql/src/include:
        c.h (r1.222.2.1 -> r1.222.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/c.h?r1=1.222.2.1&r2=1.222.2.2)