Re: [HACKERS] [PATCH] Remove redundant if clause in standbydesc.c

2016-09-23 Thread Tom Lane
Michael Paquier writes: > On Fri, Sep 23, 2016 at 6:54 PM, Aleksander Alekseev > wrote: >>> Very simple small patch - see attachment. >>> >>> /* not expected, but print something anyway */ >>> else if (msg->id == SHAREDINVALRELMAP_ID) >>> -appendStringInfoString(buf

Re: [HACKERS] [PATCH] Remove redundant if clause in standbydesc.c

2016-09-23 Thread Michael Paquier
On Fri, Sep 23, 2016 at 6:54 PM, Aleksander Alekseev wrote: >> > Very simple small patch - see attachment. >> >> /* not expected, but print something anyway */ >> else if (msg->id == SHAREDINVALRELMAP_ID) >> -appendStringInfoString(buf, " relmap"); >> -else if

Re: [HACKERS] [PATCH] Remove redundant if clause in standbydesc.c

2016-09-23 Thread Aleksander Alekseev
> > Very simple small patch - see attachment. > > /* not expected, but print something anyway */ > else if (msg->id == SHAREDINVALRELMAP_ID) > -appendStringInfoString(buf, " relmap"); > -else if (msg->id == SHAREDINVALRELMAP_ID) > appendStringInfo

Re: [HACKERS] [PATCH] Remove redundant if clause in standbydesc.c

2016-09-23 Thread Michael Paquier
On Fri, Sep 23, 2016 at 6:08 PM, Aleksander Alekseev wrote: > Very simple small patch - see attachment. /* not expected, but print something anyway */ else if (msg->id == SHAREDINVALRELMAP_ID) -appendStringInfoString(buf, " relmap"); -else if (msg->id == SHAR