Re: pgsql: Add pg_recvlogical, a tool to receive data logical decoding data

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Robert Haas <rhaas(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add pg_recvlogical, a tool to receive data logical decoding data
Date: 2014-03-18 16:56:19
Message-ID: 20140318165619.GX16438@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 2014-03-18 18:51:29 +0200, Heikki Linnakangas wrote:
> I have a few questions about this:
>
> 1. Why is this in src/bin/pg_basebackup? As far as I can see, this has
> nothing to do with taking base backups. I guess one could say the same thing
> about pg_receivexlog, but that one is at least somewhat related to a
> physical base backup, and shares code with pg_basebackup.

The only reason is that it shares code, mostly reusing
streamutil.c. I've previously asked onlist and the general feedback was
that it's better to have it there, than to duplicate code.

> 2. What is this good for? I would read the docs, but:
> 3. There are no docs.

I think Robert's just working on the general docs patch.

I think in the form it's now in, it's actually usable for some real
world tasks, not just a demo. It's not an infrequent requirement to get
all DML to the database in a readable format for auditing purposes, and
this does provide it.

Greetings,

Andres Freund

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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-03-18 17:21:11 pgsql: Documentation for logical decoding.
Previous Message Heikki Linnakangas 2014-03-18 16:51:29 Re: pgsql: Add pg_recvlogical, a tool to receive data logical decoding data