Re: pg_receivexlog and replication slots

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: furuyao(at)pm(dot)nttdata(dot)co(dot)jp, Andres Freund <andres(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_receivexlog and replication slots
Date: 2014-08-26 07:43:36
Message-ID: CAB7nPqRB_TXaM9NEuOoef3iGRiHLbCk+MmFWHk2kqM6+-=ixPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 19, 2014 at 2:49 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> On Mon, Aug 18, 2014 at 4:01 PM, Michael Paquier
> <michael(dot)paquier(at)gmail(dot)com> wrote:
>> On Mon, Aug 18, 2014 at 3:48 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>>> On Mon, Aug 18, 2014 at 2:38 PM, Michael Paquier
>>> <michael(dot)paquier(at)gmail(dot)com> wrote:
>> And now looking at your patch there is additional refactoring possible
>> with IDENTIFY_SYSTEM and pg_basebackup as well...
> And attached is a rebased patch doing so.
I reworked this patch a bit to take into account the fact that the
number of columns to check after running IDENTIFY_SYSTEM is not always
4 as pointed out by Andres:
- pg_basebackup => 3
- pg_receivexlog => 3
- pg_recvlogical => 4

Regards,
--
Michael

Attachment Content-Type Size
20140826_slot_creation_pg_receivexlog_v4.patch text/x-patch 18.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2014-08-26 08:02:59 Re: postgresql latency & bgwriter not doing its job
Previous Message Fabien COELHO 2014-08-26 07:23:40 Re: postgresql latency & bgwriter not doing its job