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 1l0Epm-0003Io-1Y for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jan 2021 02:27:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l0Epk-0004jK-Vb for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jan 2021 02:27:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l0Epk-0004jD-Mg for pgsql-hackers@lists.postgresql.org; Fri, 15 Jan 2021 02:27:28 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l0Epi-0004Jd-J0 for pgsql-hackers@postgresql.org; Fri, 15 Jan 2021 02:27:28 +0000 Received: from Sergeys-MacBook-Pro.local (unknown [62.217.185.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id D55DD21C36C7; Fri, 15 Jan 2021 05:27:19 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1610677644; bh=RdW7OcISsY2/dSi7GHsEoc9hS63+LULk2nJAiH/vlus=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=FyuYS7NjspmzafgZ3hCUQvaNgOzNfjHByp8TGPu3/eYScKEdcZxARubTVHfj64SAj Lwu3pbrOEDFS8mztD+t4fvXqHk6pL2pQbcdQZnDLemBj+PbjlSwaAjUYP+bA4jLliQ G19OPEt/2w3uMovxZRIhRW9yG6uX6Nqlu2tVAifw= Subject: Re: pg_preadv() and pg_pwritev() To: Tom Lane Cc: Thomas Munro , pgsql-hackers References: <448b3cb5-0ba0-6dc5-63c7-789e4eebc40b@postgrespro.ru> <1283127.1610554395@sss.pgh.pa.us> <1286060.1610558607@sss.pgh.pa.us> <1297389.1610562046@sss.pgh.pa.us> <1341608.1610580122@sss.pgh.pa.us> <1410650.1610638974@sss.pgh.pa.us> <1418166.1610647514@sss.pgh.pa.u! s> <1419199.1610649100@sss.pgh.pa.us> <1612230.1610662425@sss.pgh.pa.us> <1621321.1610675106@sss.pgh.pa.us> From: Sergey Shinderuk Message-ID: <2dc74e94-5b79-6bf9-e25f-516c916e03b7@postgrespro.ru> Date: Fri, 15 Jan 2021 05:27:14 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <1621321.1610675106@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 15.01.2021 04:45, Tom Lane wrote: > Hence, I propose the attached. This works as far as I can tell > to fix the problem you're seeing. Yes, it works fine. Thank you very much.