Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWsoL-00087n-QK for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Mar 2022 04:41:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nWsoK-0008IG-EN for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Mar 2022 04:41:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWsoK-0008I6-6H for pgsql-bugs@lists.postgresql.org; Wed, 23 Mar 2022 04:41:28 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWsoI-0005xz-2h for pgsql-bugs@lists.postgresql.org; Wed, 23 Mar 2022 04:41:27 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id DF5FB3200E89; Wed, 23 Mar 2022 00:41:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 23 Mar 2022 00:41:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=IZSWJ6J08K0lWKMP7PIkvxm+SOHBxMjKw8Nv8g S8VdM=; b=Fa8aCh80SXR7lXfXTHobb3VpUDT5Gb+cv63RQxqlA+fHcdElFTymwb k9hCucXrbS/H2nxSg0V0T8GpSKJhpl6xTkxhOwN3CzzqWfqaZtt6wVORjJjpI9Pk PgYFgCWbEFuNK4la0zQn3xJ7fW2djwDAYCrj3WyDdNY9qqRVLyJEe8tN1EDZ1byK 45++6Iwc9jaBLqOKpIv8RKxKnd5hfyO+rSIERhb5GR69oXi2QWOHuVy79JS/ej72 jchSnl5P9QVFA+XAn3TmOFM+1IjrrWgb8xDIr7XQkpt5Fvq5byKWYoplKhGSyMyw LVa/70GNL8yN/ColnXdHhvjM7kDbUu1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=IZSWJ6J08K0lWKMP7 PIkvxm+SOHBxMjKw8Nv8gS8VdM=; b=k291LyUgWx6q1zGuEbuFbH2ByO8AYc3Wy oVFwgmOWCjaaTfWPDIp9BVfPkKZ0pNJQFaFFqDknuWo/WBn9DCDLWwo4coQ6AM2Z lqoUuyBCw69TLdPQPfgseuSzd4HbPFlIWUo6WW6jMzFJzoq4axcyvvx3t/o6wjp2 t1koJzwdTGfZNcSrS36faECzievfJ3U14R2Ma5IQK82u3MZv11ikrU7zcu5BWbyx dVRtIhJaq31/BoYdkp6UgphcQLM+De+hZdV5V6i4NnYydt2Go7CZ9ZeefQAP1xIs UM4Ah0gjaVDz0qANKbVE1v6TKwAq3Rr5DiBQoIvTcqnp4zNN/6whQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudegiedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Mar 2022 00:41:23 -0400 (EDT) Date: Wed, 23 Mar 2022 13:41:19 +0900 From: Michael Paquier To: Masahiko Sawada Cc: fft_665665@163.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17441: shm_mq receive less data than the sender sends Message-ID: References: <17441-b67dc542f085e3ba@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NxYdQlRjF2TrUwS2" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --NxYdQlRjF2TrUwS2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 23, 2022 at 11:59:06AM +0900, Masahiko Sawada wrote: > On Sun, Mar 20, 2022 at 9:20 PM PG Bug reporting form > wrote: >> I launch one dynamic worker as the sender, use shm_mq send data to the >> SELECT, which I register a copy hook to receive data from sender. >> Each data length is 800. > > Could you please provide the reproducible steps and codes for the > problem you're facing? That's very helpful to understand and > investigate the problem. Yeah, I'd like to see that with a test that reproduces with core PG. Now, perhaps this is some custom extension code? -- Michael --NxYdQlRjF2TrUwS2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmI6pO8ACgkQnvQgOdby QH1d+A/+JUc+petleqeHICJ8kfV2HPpVoJ/7DMFugxh5pyOz8gnIY/j0TNM9/zre XwiTeUTIsPvjEtbQ+HkjMuwhGOGjYJrsbkRh3V9x1WYmKuhZdiFu98IfVjUwMbay eRyaA6/jtosAW8Q1pXtDb9KOkCqB85Yk4exBgFz3YGHniQfcIm6yBC6OoUuv6h3D VKA+DLGra4fHqtQbqIxALOhT83QovAZvRpwed+AGGyFUZFL2uIngT6icNRI32XfT N9xIdO5AMS/dlXioDGiw4bILBxPTNoO0t5PobTT+pWDOIogBkYoXgv/lvKBxfBLW BMtI6Q+M2nMnnTZcw/RvgpyO18xyLtpA+ys4j7MwG1dCWAizKeGn4HlSICrXfrds UU9iTwRyzBM4AawXqJDZuE+jU9tIISctKb9vQxe4rkS2ac5fR4UPWnTyZ3LjDYia fxQj5yKCXr7Tz6ywfiANfKgU1HLCWFQDFOpd37KbWrcirecU4seTWG6llh7/j5Yd 2JuiOYAGf70fNfLwMLVqNBNTZgnCzKlLcLH6nxA2RtltZypniEHhOkKJL7FNDg+D gwmcxMQ8q7vA7AlVZEOBwz1UnDuL6FmcE9TEZE/O5+kkGGxZkrEtzQRizhY1riIc 4oi2HrY4cJ71jwviRdIHlVmWQ6IeWZ79LfegHgUjaf3dvlgt2Aw= =BpBZ -----END PGP SIGNATURE----- --NxYdQlRjF2TrUwS2--