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

From: alvherre(at)postgresql(dot)org (Alvaro Herrera)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove pg_trace.h inclusion from c.h and add it to the .c files
Date: 2009-03-11 00:08:07
Message-ID: 20090311000807.510ED754AD4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-03-11 03:32:22 pgsql: Improve match_special_index_operator() to recognize that LIKE
Previous Message Tom Lane 2009-03-10 22:09:26 pgsql: Make SubPlan nodes carry the result's typmod as well as datatype