Re: incorrect handling of the timeout in pg_receivexlog - Mailing list pgsql-hackers

From Robert Haas
Subject Re: incorrect handling of the timeout in pg_receivexlog
Date
Msg-id CA+TgmoYqTZhbz3Fnz8Evc23zKWbT5cLxCnHyibe2mn5zBfSdbA@mail.gmail.com
Whole thread Raw
In response to Re: incorrect handling of the timeout in pg_receivexlog  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: incorrect handling of the timeout in pg_receivexlog
List pgsql-hackers
On Mon, May 14, 2012 at 2:24 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Fri, May 11, 2012 at 11:43 PM, Magnus Hagander <magnus@hagander.net> wrote:
>> Should we go down the easy way and just reject connections when the flag is
>> mismatching between the client and the server (trivial to do - see the
>> attached patch)?
>
> +       char       *tmpparam;
>
> You forgot to add "const" before "char", which causes a compile-time warning.

I went ahead and committed this, with this fix and a slight change to
the message text.

Hope that's OK with everyone...

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Readme of Buffer Management seems to have wrong sentence
Next
From: Robert Haas
Date:
Subject: Re: Readme of Buffer Management seems to have wrong sentence