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

pgsql: Split out rmgr rm_desc functions into their own files

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Split out rmgr rm_desc functions into their own files
Date: 2012-11-28 16:37:36
Message-ID: E1Tdkdk-000149-KE@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Split out rmgr rm_desc functions into their own files

This is necessary (but not sufficient) to have them compilable outside
of a backend environment.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1577b46b7c81e490cf5c8f0e90d0e5d0c09b5414

Modified Files
--------------
src/backend/access/Makefile               |    2 +-
src/backend/access/gin/ginxlog.c          |   63 ---------
src/backend/access/gist/gistxlog.c        |   49 -------
src/backend/access/hash/hash.c            |    5 -
src/backend/access/heap/heapam.c          |  148 ----------------------
src/backend/access/nbtree/nbtxlog.c       |  145 ---------------------
src/backend/access/rmgrdesc/Makefile      |   15 +++
src/backend/access/rmgrdesc/clogdesc.c    |   41 ++++++
src/backend/access/rmgrdesc/dbasedesc.c   |   43 +++++++
src/backend/access/rmgrdesc/gindesc.c     |   83 ++++++++++++
src/backend/access/rmgrdesc/gistdesc.c    |   68 ++++++++++
src/backend/access/rmgrdesc/hashdesc.c    |   22 ++++
src/backend/access/rmgrdesc/heapdesc.c    |  165 ++++++++++++++++++++++++
src/backend/access/rmgrdesc/mxactdesc.c   |   51 ++++++++
src/backend/access/rmgrdesc/nbtdesc.c     |  162 ++++++++++++++++++++++++
src/backend/access/rmgrdesc/relmapdesc.c  |   33 +++++
src/backend/access/rmgrdesc/seqdesc.c     |   36 ++++++
src/backend/access/rmgrdesc/smgrdesc.c    |   45 +++++++
src/backend/access/rmgrdesc/spgdesc.c     |   89 +++++++++++++
src/backend/access/rmgrdesc/standbydesc.c |   65 ++++++++++
src/backend/access/rmgrdesc/tblspcdesc.c  |   40 ++++++
src/backend/access/rmgrdesc/xactdesc.c    |  194 +++++++++++++++++++++++++++++
src/backend/access/rmgrdesc/xlogdesc.c    |  120 ++++++++++++++++++
src/backend/access/spgist/spgvacuum.c     |    2 +-
src/backend/access/spgist/spgxlog.c       |   72 -----------
src/backend/access/transam/clog.c         |   23 ----
src/backend/access/transam/multixact.c    |   33 -----
src/backend/access/transam/rmgr.c         |    2 +-
src/backend/access/transam/xact.c         |  173 -------------------------
src/backend/access/transam/xlog.c         |  118 +-----------------
src/backend/catalog/heap.c                |    1 +
src/backend/catalog/storage.c             |   51 +--------
src/backend/commands/dbcommands.c         |   24 ----
src/backend/commands/sequence.c           |   18 ---
src/backend/commands/tablespace.c         |   22 ----
src/backend/storage/ipc/standby.c         |   48 -------
src/backend/utils/cache/relmapper.c       |   16 ---
src/include/access/xlog_internal.h        |   19 +++
src/include/catalog/storage.h             |    6 -
src/include/catalog/storage_xlog.h        |   49 +++++++
40 files changed, 1346 insertions(+), 1015 deletions(-)


pgsql-committers by date

Next:From: Alvaro HerreraDate: 2012-11-28 19:14:19
Subject: Re: pgsql: Refactor flex and bison make rules
Previous:From: Heikki LinnakangasDate: 2012-11-28 13:15:49
Subject: pgsql: If we don't have a backup-end-location,don't claim we've reache

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