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

pgsql: Split resowner.h

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Split resowner.h
Date: 2012-08-28 22:06:30
Message-ID: E1T6Tva-0008R7-Ih@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Split resowner.h

This lets files that are mere users of ResourceOwner not automatically
include the headers for stuff that is managed by the resowner mechanism.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/45326c5a11530cff5db99c6d4b393439cc901f26

Modified Files
--------------
src/backend/access/common/tupdesc.c   |    2 +-
src/backend/access/transam/xact.c     |    2 +
src/backend/commands/dbcommands.c     |    1 +
src/backend/commands/extension.c      |    1 +
src/backend/postmaster/autovacuum.c   |    1 +
src/backend/postmaster/bgwriter.c     |    1 +
src/backend/postmaster/checkpointer.c |    1 +
src/backend/postmaster/walwriter.c    |    1 +
src/backend/storage/buffer/bufmgr.c   |    2 +-
src/backend/storage/buffer/localbuf.c |    2 +-
src/backend/storage/file/fd.c         |    2 +-
src/backend/storage/lmgr/lock.c       |    2 +-
src/backend/utils/cache/catcache.c    |    2 +-
src/backend/utils/cache/evtcache.c    |    1 +
src/backend/utils/cache/plancache.c   |    1 +
src/backend/utils/cache/relcache.c    |    2 +-
src/backend/utils/cache/typcache.c    |    1 +
src/backend/utils/resowner/resowner.c |    1 +
src/backend/utils/time/snapmgr.c      |    1 +
src/include/utils/portal.h            |    1 +
src/include/utils/resowner.h          |   62 ------------------------
src/include/utils/resowner_private.h  |   83 +++++++++++++++++++++++++++++++++
src/include/utils/snapmgr.h           |    2 +
23 files changed, 106 insertions(+), 69 deletions(-)

pgsql-committers by date

Next:From: Alvaro HerreraDate: 2012-08-28 23:09:17
Subject: pgsql: Split heapam_xlog.h from heapam.h
Previous:From: Alvaro HerreraDate: 2012-08-28 20:16:08
Subject: pgsql: add #includes to plpy_subxactobject.h to make it compilestandal

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