pgsql: Move Trigger and TriggerDesc structs out of rel.h into a new rel

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move Trigger and TriggerDesc structs out of rel.h into a new rel
Date: 2011-07-04 18:38:26
Message-ID: E1Qdo2M-0003eo-Di@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h

This lets us stop including rel.h into execnodes.h, which is a widely
used header.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b93f5a5673b4bb09e14eb80fe28aa21fc20a6271

Modified Files
--------------
contrib/dblink/dblink.c | 1 +
contrib/file_fdw/file_fdw.c | 1 +
contrib/lo/lo.c | 7 +--
contrib/pageinspect/btreefuncs.c | 1 +
contrib/pageinspect/rawpage.c | 1 +
contrib/pgrowlocks/pgrowlocks.c | 1 +
contrib/pgstattuple/pgstatindex.c | 1 +
contrib/spi/autoinc.c | 1 +
contrib/spi/insert_username.c | 1 +
contrib/spi/moddatetime.c | 1 +
contrib/spi/refint.c | 1 +
contrib/spi/timetravel.c | 1 +
src/backend/access/gin/ginfast.c | 1 +
src/backend/access/gin/gininsert.c | 1 +
src/backend/access/gist/gist.c | 1 +
src/backend/access/gist/gistget.c | 1 +
src/backend/access/hash/hash.c | 1 +
src/backend/access/hash/hashutil.c | 1 +
src/backend/access/nbtree/nbtutils.c | 1 +
src/backend/bootstrap/bootstrap.c | 1 +
src/backend/catalog/heap.c | 2 +-
src/backend/catalog/indexing.c | 1 +
src/backend/catalog/pg_proc.c | 1 +
src/backend/catalog/toasting.c | 1 +
src/backend/commands/alter.c | 1 +
src/backend/commands/constraint.c | 1 +
src/backend/commands/copy.c | 1 +
src/backend/commands/explain.c | 3 +-
src/backend/commands/extension.c | 1 +
src/backend/commands/schemacmds.c | 1 +
src/backend/commands/trigger.c | 1 +
src/backend/commands/typecmds.c | 1 +
src/backend/executor/execAmi.c | 1 +
src/backend/executor/execCurrent.c | 1 +
src/backend/executor/nodeBitmapHeapscan.c | 1 +
src/backend/executor/nodeForeignscan.c | 1 +
src/backend/executor/nodeIndexscan.c | 1 +
src/backend/executor/nodeLockRows.c | 1 +
src/backend/executor/nodeMergeAppend.c | 1 +
src/backend/executor/nodeModifyTable.c | 1 +
src/backend/executor/nodeSeqscan.c | 1 +
src/backend/executor/nodeTidscan.c | 1 +
src/backend/executor/spi.c | 1 +
src/backend/optimizer/plan/planner.c | 1 +
src/backend/optimizer/util/predtest.c | 1 +
src/backend/parser/parse_relation.c | 1 +
src/backend/parser/parse_target.c | 1 +
src/backend/parser/parse_utilcmd.c | 2 +-
src/backend/postmaster/autovacuum.c | 1 +
src/backend/rewrite/rewriteHandler.c | 3 +-
src/backend/utils/adt/ri_triggers.c | 1 +
src/backend/utils/adt/ruleutils.c | 3 +-
src/backend/utils/adt/selfuncs.c | 1 +
src/backend/utils/adt/trigfuncs.c | 1 +
src/backend/utils/adt/tsvector_op.c | 1 +
src/backend/utils/adt/xml.c | 1 +
src/backend/utils/cache/lsyscache.c | 1 +
src/backend/utils/fmgr/funcapi.c | 1 +
src/include/nodes/execnodes.h | 2 +-
src/include/utils/rel.h | 55 +---------------------
src/include/utils/reltrigger.h | 74 +++++++++++++++++++++++++++++
src/pl/plperl/plperl.c | 1 +
src/pl/plpgsql/src/pl_comp.c | 1 +
src/pl/plpgsql/src/pl_exec.c | 1 +
src/pl/plpython/plpython.c | 1 +
src/pl/tcl/pltcl.c | 1 +
src/test/regress/regress.c | 1 +
67 files changed, 144 insertions(+), 65 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-07-04 19:44:06 pgsql: Clarify that you need ActiveState perl 5.8 *or later* to build o
Previous Message Alvaro Herrera 2011-07-04 18:34:05 pgsql: Don't try to use a constraint name as domain name

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2011-07-04 19:00:40 Re: keepalives_* parameters usefullness
Previous Message Radosław Smogura 2011-07-04 16:47:34 Re: Crash dumps