Re: [patch]socket_timeout in interfaces/libpq

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: "nagaura(dot)ryohei(at)fujitsu(dot)com" <nagaura(dot)ryohei(at)fujitsu(dot)com>
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>, "k(dot)jamison(at)jp(dot)fujitsu(dot)com" <k(dot)jamison(at)jp(dot)fujitsu(dot)com>, 'Fabien COELHO' <coelho(at)cri(dot)ensmp(dot)fr>, 'Kyotaro HORIGUCHI' <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, "'robertmhaas(at)gmail(dot)com'" <robertmhaas(at)gmail(dot)com>, "MikalaiKeida(at)ibagroup(dot)eu" <MikalaiKeida(at)ibagroup(dot)eu>, "AYahorau(at)ibagroup(dot)eu" <AYahorau(at)ibagroup(dot)eu>, "tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
Subject: Re: [patch]socket_timeout in interfaces/libpq
Date: 2019-09-11 04:58:54
Message-ID: 20190911045854.GH1953@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 10, 2019 at 03:38:21PM +0900, Michael Paquier wrote:
> I recall having a negative impression on the patch when first looking
> at it, and still have the same impression when looking at the last
> version. Just with a quick look, assuming that you can bypass all
> cleanup operations normally taken by pqDropConnection() through a
> hijacking of pqWait() is not fine as this routine explicitely assumes
> to *never* have a timeout for its wait.

By the way, Fabien, you are marked as a reviewer of this patch since
the end of June. Are you planning to review it?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2019-09-11 05:24:37 Re: ICU for global collation
Previous Message Michael Paquier 2019-09-11 04:55:45 Re: [bug fix] Produce a crash dump before main() on Windows