Re: Logical decoding on standby

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Simon Riggs <simon(dot)riggs(at)2ndquadrant(dot)com>
Subject: Re: Logical decoding on standby
Date: 2017-01-06 05:54:41
Message-ID: CAB7nPqRSOP72CMOw4VgBpu8zPCriOLOdtqoHg3yv5fYXvWqKVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 6, 2017 at 1:07 PM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
> On 5 January 2017 at 13:12, Michael Paquier <michael(dot)paquier(at)gmail(dot)com> wrote:
>> On Thu, Jan 5, 2017 at 10:21 AM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
>>> On 5 January 2017 at 09:19, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
>>>
>>>> so here's a rebased series on top of master. No other changes.
>>>
>>> Now with actual patches.
>>
>> Looking at the PostgresNode code in 0001...
>> +=pod $node->pg_recvlogical_upto(self, dbname, slot_name, endpos,
>> timeout_secs, ...)
>> +
>> This format is incorrect. I think that you also need to fix the
>> brackets for the do{} and the eval{] blocks.
>>
>> + push @cmd, '--endpos', $endpos if ($endpos);
>> endpos should be made a mandatory argument. If it is not defined that
>> would make the test calling this routine being stuck.
>
> Acknowledged and agreed. I'll fix both in the next revision. I'm
> currently working on hot standby replies, but will return to this
> ASAP.

By the way, be sure to fix as well the =pod blocks for the new
routines. perldoc needs to use both =pod and =item.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Sharma 2017-01-06 05:54:57 Re: Microvacuum support for Hash Index
Previous Message Amit Khandekar 2017-01-06 05:17:44 Re: Parallel bitmap heap scan