[pgpool-hackers: 1767] Re: [pgpool-committers: 3331] pgpool: Fix confusing error messages.
Tatsuo Ishii
ishii at sraoss.co.jp
Fri Aug 19 07:30:24 JST 2016
[Redirect to pgpool-hackers]
> Hi Ishii-San
>
> I think there is a little problem with this commit. Since this commit is
> throwing ereport( ERROR,..) before "if
> (pool_config->fail_over_on_backend_error)"statementand ereport ERROR will
> always jump the code to error handler, and the fail_over_on_backend_error
> check will become ineffective.
Good point. Will fix.
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
> Kind regards
> Muhammad Usama
>
> On Tue, Jun 28, 2016 at 6:42 AM, Tatsuo Ishii <ishii at postgresql.org> wrote:
>
>> Fix confusing error messages.
>>
>> pool_read() does not emit error messages when read(2) returns -1 if
>> fail_over_on_backend_error is off. In any case the cause of error
>> should be emitted. I do not back port this because it's a too trivial
>> enhancement.
>>
>> Branch
>> ------
>> master
>>
>> Details
>> -------
>> http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=
>> bb41a1e55d59f842d8b97cdbb6c973c1989904aa
>>
>> Modified Files
>> --------------
>> src/utils/pool_stream.c | 16 ++++++----------
>> 1 file changed, 6 insertions(+), 10 deletions(-)
>>
>> _______________________________________________
>> pgpool-committers mailing list
>> pgpool-committers at pgpool.net
>> http://www.pgpool.net/mailman/listinfo/pgpool-committers
>>
More information about the pgpool-hackers
mailing list