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 1r2MaS-00GIuU-Em for pgsql-committers@arkaria.postgresql.org; Mon, 13 Nov 2023 02:22:05 +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 1r2MZR-00CBnI-TK for pgsql-committers@arkaria.postgresql.org; Mon, 13 Nov 2023 02:21:01 +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 1r2MZQ-00CBn6-CQ for pgsql-committers@lists.postgresql.org; Mon, 13 Nov 2023 02:21:01 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2MZI-005IHQ-KP for pgsql-committers@lists.postgresql.org; Mon, 13 Nov 2023 02:20:59 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 58C975C00AF; Sun, 12 Nov 2023 21:20:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 12 Nov 2023 21:20:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type: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=fm3; t=1699842051; x=1699928451; bh=VO VrprMExYMoC+bXUwOQwIj3q8uWG63PX7dzr/5LzDU=; b=dIfrKwuktGeQZ+ElIe 4tQP45F33frt0tGUu4TrdTYWZp/i/AxYrkai265q5xAzaIEvGRIQhVFHqlmNBvCy YBC3HNb1N7oFMnG175OsIyPKUltpEIsXm3nGdZcmea3KwVKHHcGJWOd3RX56k0VF 05JmKc/mssUEpODBL+JWHcrVAg5pSPezqKTZwnBts8elgpqUkPTQjIFzDd9/sf1H c4hUoxA6vTR1IHZfXDIlRXHxFGG6ZqyVO0py7ZRZHSpidWHI2cls3FbR5Q7IXqii QcStZJhc1MQL3f3S3/RM9uA2hLbnZ34W/gWb+YTzt/FqZie/yJlZYwTV6PVdcwFo daiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id: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; t=1699842051; x=1699928451; bh=VOVrprMExYMoC +bXUwOQwIj3q8uWG63PX7dzr/5LzDU=; b=q+/AFDlT10piBDyahyTfzDGunuRDa PiT8UyQEjzhoDKJ8jdot1kDl/O3jPczeyKI0b+UZCiOaM1zebU6fm2J75Xa3sdW9 +35Gvoc7LCmmRLxclJd2rjjRKYXHXrQk8FatQ3uW3NNXtsdSODNEZtq0Y99UTx4w ME9SCSxIVU/iD0kCCWwlIbgT1kNgPYUVQKcDiw4V/4KgwBePJkmvH1hIxjVCKy/n kMJuUzWnQCwHBT03Da/JF3+oRplDT62Z25L0DUXe9kwoMtdHn02H1Tc4zOKDVCI5 7Geiy2iocIemvH7Tlyx+BYy4FFsSFBZ6AozoTSPvCBNFP7itxQBGwa8yw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvledggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghq uhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvg hrnhepteelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdej necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitg hhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Nov 2023 21:20:49 -0500 (EST) Date: Mon, 13 Nov 2023 11:20:33 +0900 From: Michael Paquier To: Julien Rouhaud Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Extend sendFileWithContent() to handle custom content length in Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8bzk8eOFRqPJtFmp" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --8bzk8eOFRqPJtFmp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 13, 2023 at 08:53:45AM +0800, Julien Rouhaud wrote: > Did you mean >= 0? Indeed, thanks. The commit message got that the opposite way. -- Michael --8bzk8eOFRqPJtFmp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmVRh/EACgkQnvQgOdby QH3Wbg/9FUYYjK8w5tlUWFpajry9+HajXzKUOaTZLenq/OzlJ3sLp4XuK7/3g5AN IVZcVMfYONRKxX/ExJfeOSDD8o/UYndAqu9/dfUvtg676CDTlot1e+09WjNxc4ei QpX8UFAKBFZn6PmQ1F2xcgNXkNkGTAZMlsoJlrgRktlgN/9I2Iub5v+aktlndUg2 Mm+eNrRIRpA14DRwXam0b9kY0e+1UP9i60CQixMv8fDBlTVCZZRkM1zZOXGO/UiU 0EeomDt4XG+69VssIjYuw/4uvwmnaaU2ocEMYCVRMccxIMahemZMsP3oXFkTW40K 5puMv8sZkdqfVV3xFWBbfSxr2ipvXQtdZoz0pS6QDd0qaJHQJGMwqFPld+BzpuEJ gnI2wgwqQAZFcRqsuGgwx7hVL6H2PcoCp1KHCpBRakQaDRH++kMoAUe1zNuK8RPZ MQmE6MPcqOuaAPUC9nER+RxrmhDQY+tULwxsENSvNSI2dzsIWX31tGUqaEc9Shkr Fh+YT5KL8NI5vSYo9MvLtSAPKAR3DTEggdeouOJ9SvZqXvSscRn3ZfNB4fvblRJs /17l/TYlC+rptfJIRkODk3Gidj439Urfuh7/Q/3ywOE7Yx/zwupzBQIBjPBnGDOo Sfie0fP1hwYEUh7UudnVstV5Tmt58shGKIn/ttb9ZnE8EShyD0o= =8cyW -----END PGP SIGNATURE----- --8bzk8eOFRqPJtFmp--