Re: Re: [PATCH 02/14] Add support for a generic wal reading facility dubbed XLogReader

Andres Freund <andres@2ndquadrant.com>

From: Andres Freund <andres@2ndquadrant.com>
To: Peter Geoghegan <peter@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, Robert Haas <robertmhaas@gmail.com>, Heikki Linnakangas <hlinnakangas@vmware.com>, pgsql-hackers@postgresql.org
Date: 2012-12-11T23:58:25Z
Lists: pgsql-hackers
On 2012-12-11 22:52:09 +0000, Peter Geoghegan wrote:
> On 11 December 2012 22:24, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > TBH, I don't believe that ordinary users will need this tool at all,
> > ever, and thus I don't want it in src/bin/.  From a packaging standpoint
> > it will be a lot easier if it's in contrib ... otherwise I'll probably
> > have to invent some new sub-RPM along the lines of postgresql-extras
> > so as to avoid bloating the core server package.
>
> I happen to agree that pg_xlogdump belongs in contrib

Ok, I think there has been clear support for putting it into contrib, I
can comfortably live with that even though I would prefer otherwise.  So
lets concentrate on other things ;)

> pg_xlogdump is 141K on my system. I'd hate to see us embrace the exact
> opposite tendency, towards including everything but the kitchen sink,
> but at the same time that seems like a very insignificant size.
> Perhaps people who live in countries with less bandwidth care about
> these things more.

Optimized and stripped - which is what most distros do - it's 40k
here. Gzipped - as in packages - its only 20k on its own. So its even
smaller ;)

Greetings,

Andres Freund

--
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Background worker processes

  2. Rearrange storage of data in xl_running_xacts.

  3. Basic binary heap implementation.

  4. Embedded list interface

  5. Refactor xlog.c to create src/backend/postmaster/startup.c