Skip site navigation (1) Skip section navigation (2)

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

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 newrel
Date: 2011-07-04 18:38:26
Message-ID: E1Qdo2M-0003eo-Di@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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

pgsql-hackers by date

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group