Re: pg_recvlogical broken in back branches

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: magnus(at)hagander(dot)net, Euler Taveira <euler(at)timbira(dot)com(dot)br>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_recvlogical broken in back branches
Date: 2018-04-22 22:49:05
Message-ID: 20180422224905.GA9406@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Apr 22, 2018 at 02:55:51PM -0700, Noah Misch wrote:
> That change is testing the wrong variable. I plan to repair it as
> attached.

You are right here. Ditto

The whole GetConnection() business in src/bin/pg_basebackup is confusing
with the presence of a global variable. I am wondering if we should
change GetConnection() to SetConnection(). Most of the routines of
streamutil.c also use "conn" as a local variable while being defined as
a global variable in streamutil.h, which don't help much.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Gierth 2018-04-22 23:59:38 Re: Toast issues with OldestXmin going backwards
Previous Message Noah Misch 2018-04-22 21:55:51 Re: pg_recvlogical broken in back branches