Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9X2s-000JuW-9R for pgsql-bugs@arkaria.postgresql.org; Sat, 02 Dec 2023 20:57:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r9X2q-00BNVC-AA for pgsql-bugs@arkaria.postgresql.org; Sat, 02 Dec 2023 20:57:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9X2p-00BNV4-Ru for pgsql-bugs@lists.postgresql.org; Sat, 02 Dec 2023 20:57:00 +0000 Received: from forward500c.mail.yandex.net ([178.154.239.208]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9X2h-008U8F-Ad for pgsql-bugs@lists.postgresql.org; Sat, 02 Dec 2023 20:56:58 +0000 Received: from mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:7d84:0:640:6613:0]) by forward500c.mail.yandex.net (Yandex) with ESMTP id 851CE60DE3; Sat, 2 Dec 2023 23:56:46 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id hufecHBwRSw0-lyluEkF3; Sat, 02 Dec 2023 23:56:46 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1701550606; bh=5cSDenHp6ahVBCANIBJlIK0MWZspmLMFvfNzePba4gw=; h=From:In-Reply-To:Cc:Date:References:To:Subject:Message-ID; b=duh0Can9zRgsmLbDMkbjinZHtFFg5F60MdNWzL/07hDmAG5o7QW7LHvxmSuaIvmdT c9cXB5PYtBvsQvHfPazt6QjRp2TDRsuTHSWNuDBOz8J2CQllhrhgaVBFWp04d5C4UE rfz/DBNYOFLJiVLs5jim3MK6Faj4R1CC69dovj48= Authentication-Results: mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <7f6e2986-158d-4650-e8df-56e9bfc48da1@yandex.ru> Date: Sat, 2 Dec 2023 23:56:43 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: BUG #17948: libpq seems to misbehave in a pipelining corner case To: Alvaro Herrera Cc: "pgsql-bugs@lists.postgresql.org" References: <202312011420.zmxtoxtvu6ip@alvherre.pgsql> Content-Language: en-US From: Ivan Trofimov In-Reply-To: <202312011420.zmxtoxtvu6ip@alvherre.pgsql> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thank you for looking into this, much appreciated. Yes, I can confirm that the patch fixes both the busy-loop and client<->server desynchronization problem for me.