pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Move WAL-related definitions from dbcommands.h to separate heade
Date: Mon, 09 Mar 2015 14:00:40 +0000
Message-ID: <E1YUyEa-0007Df-An@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Move WAL-related definitions from dbcommands.h to separate header file.

This makes it easier to write frontend programs that needs to understand
the WAL record format of CREATE/DROP DATABASE. dbcommands.h cannot easily
be #included in a frontend program, because it pulls in other header files
that need backend stuff, but the new dbcommands_xlog.h header file has
fewer dependencies.

Branch
------
master

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

Modified Files
--------------
contrib/pg_xlogdump/rmgrdesc.c          |    2 +-
src/backend/access/rmgrdesc/dbasedesc.c |    2 +-
src/backend/access/transam/rmgr.c       |    2 +-
src/backend/commands/dbcommands.c       |    1 +
src/include/commands/dbcommands.h       |   24 -----------------
src/include/commands/dbcommands_xlog.h  |   44 +++++++++++++++++++++++++++++++
6 files changed, 48 insertions(+), 27 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1YUyEa-0007Df-An@gemulon.postgresql.org>
Permalink:  ../E1YUyEa-0007Df-An@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1YUyEa-0007Df-An@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Move WAL-related definitions from dbcommands.h to separate heade
  In-Reply-To: <E1YUyEa-0007Df-An@gemulon.postgresql.org>
  References: <E1YUyEa-0007Df-An@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox