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 1kYo6W-0002Gx-Nj for pgsql-bugs@arkaria.postgresql.org; Sat, 31 Oct 2020 10:27:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kYo6U-0002vI-Kf for pgsql-bugs@arkaria.postgresql.org; Sat, 31 Oct 2020 10:27:22 +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 1kYo6U-0002vB-EY for pgsql-bugs@lists.postgresql.org; Sat, 31 Oct 2020 10:27:22 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kYo6Q-0003Lj-3B for pgsql-bugs@lists.postgresql.org; Sat, 31 Oct 2020 10:27:21 +0000 Received: from [192.168.1.6] (unknown [109.252.65.97]) (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 8A74221C27DA for ; Sat, 31 Oct 2020 13:27:16 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1604140036; bh=j00rYbWV3YF3RHXubFFZeW1HrM+iTj2vC1HP1c6s7p0=; h=Subject:To:References:From:Date:In-Reply-To; b=D9Xw+9Pyt8/memhoZO9G36lK8x39JT29FqtriTZ8K5Q52SJNpc25DGH66cmSdX/Jb wyPPQMMa0i61zbqYZ3TMNyMBlmjPTF+oT74xcdVY7SbV9qj2J+B9zhqwB2DwGa134v zDURfdXkXcVUsRbbJzAXdFVv4lP6E9z3ERUR3M2c= Subject: Re: pg_receivewal compressed partial file problem To: pgsql-bugs@lists.postgresql.org References: <5cb7bde4-c8dd-d9b9-7608-740e188d7a79@postgrespro.ru> From: Grigory Smolkin Message-ID: <7d3cdf0f-dfb1-c878-5b1b-17b59cc1b17e@postgrespro.ru> Date: Sat, 31 Oct 2020 13:27:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <5cb7bde4-c8dd-d9b9-7608-740e188d7a79@postgrespro.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/31/20 1:24 PM, Grigory Smolkin wrote: > Hello! > When trying to uncompress compressed partial WAL segment, produced by > pg_receivewal, I`m getting the following error: > > gzip: unexpected end of file" > > pg_receivewal started using the following command: > pg_receivewal --synchronous -Z 1 > > What can I do to avoid this? PostgreSQL version 12.4 -- Grigory Smolkin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company