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 1p7eVc-0006nw-UF for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Dec 2022 15:26: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 1p7eVa-0008L4-Rz for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Dec 2022 15:26: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 1p7eVa-0008Kv-GL for pgsql-hackers@lists.postgresql.org; Tue, 20 Dec 2022 15:26:22 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p7eVS-0002yD-Lg for pgsql-hackers@lists.postgresql.org; Tue, 20 Dec 2022 15:26:22 +0000 Received: by mail-io1-xd36.google.com with SMTP id n63so6513899iod.7 for ; Tue, 20 Dec 2022 07:26:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=p58P1G0Al70BgKvZLREk44Ra/tu6Yr4cY0xWMNq77BY=; b=VN1NKzxKk0QpJRWhnHMsCIkqQWyYBLqDBKUALWGyymhejvFL7IJUrtEMIVNUieISFH Xqm2PfIuaGdOaB77HCnUHkTrJ1i2dj2lF+BRu3DYsQXVQyqBbJoWMrIVmsD03SScXotd RpM1RIdFRA7jJDfD/oC52vfhJq4ZSz+GKBmehlFMl9KZRSqY16TokEvW4NiT1/ng9cGh SABxHYH6GwOqSju5ohwym5oBfMT4N8ZMQhTJ+vRSlqgYTu2TmlAIlsXjsKKYa4bcEsBQ sGbt1nqeNJy0a39ry7fSzukvTknQs62Gu6RUpkieqDL6odfM+oZ0Gjq9kSv/7O1j4DvX SDfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p58P1G0Al70BgKvZLREk44Ra/tu6Yr4cY0xWMNq77BY=; b=aAB65MQWk3WWXkAJx7o8QbPbFFVjdw2jxjA4n9o3INkRvfRlhxbgHOoAbculOP7H/D LzoBLR/W6ifQgiMhWl02cRFc91HhqEh20v4opox+LkcCZr30ckKt3++n/uOdHdnD1x+j oVrejct1AKU2gT7tnOxBBavW3OFqSDhsYHqfzKcTNemk8C/frpOg5vweIBAISDQGCjaP K/yItYwRvO2/rWcKF1b0OmSN06/0FdR9KL8J2O8h2j/6aez3U4TmYndid2fMIz1Da3QO vDKwThPk5sMym+QnvNj83sa1oODq6CQaeEcb0J7lA0O702doLKrmkJqKOdVga1qMmiRh Ijyw== X-Gm-Message-State: ANoB5pm+fLUV+Pc7k81xyoqOto0IoSegeDK+dEtn7/iaBkf0orLTIHVA 7++RhK4Dl0/2YHh+Uf+m8eYo8w== X-Google-Smtp-Source: AA0mqf55ysPpd5dqbqFqZA5c+nhhGofNmKceWUy44RERlLX9qvDoAjdFwzw4m6Cssy/lzRQBgdJCNQ== X-Received: by 2002:a05:6602:2349:b0:6e2:d5f1:98a7 with SMTP id r9-20020a056602234900b006e2d5f198a7mr30139195iot.9.1671549972770; Tue, 20 Dec 2022 07:26:12 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id z4-20020a056638214400b0038a44dbbd8fsm4803811jaj.123.2022.12.20.07.26.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 07:26:12 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id E2CBD8008DE; Tue, 20 Dec 2022 09:26:10 -0600 (CST) Date: Tue, 20 Dec 2022 09:26:10 -0600 From: Justin Pryzby To: gkokolatos@pm.me Cc: Michael Paquier , pgsql-hackers@lists.postgresql.org, Rachel Heaton Subject: Re: Add LZ4 compression in pg_dump Message-ID: <20221220152610.GG1153@telsasoft.com> References: <4wfmZ9BuGbkM6JXggut4g_gPl1hLbVeUwPEQh5nGgzlKCgnbtRaw7-nPcyPelGdG8ttH9A7vgyX_Z2fwZxuqHt1xENg9mqDfP_94qoZ5WxQ=@pm.me> <20221217232615.GS1153@telsasoft.com> <20221219172706.GA1153@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Dec 20, 2022 at 11:19:15AM +0000, gkokolatos@pm.me wrote: > ------- Original Message ------- > On Monday, December 19th, 2022 at 6:27 PM, Justin Pryzby wrote: > > On Mon, Dec 19, 2022 at 05:03:21PM +0000, gkokolatos@pm.me wrote: > > > > > > > 001 still doesn't compile on freebsd, and 002 doesn't compile on > > > > > windows. Have you checked test results from cirrusci on your private > > > > > github account ? > > > > > > There are still known gaps in 0002 and 0003, for example documentation, > > > and I have not been focusing too much on those. You are right, it is helpful > > > and kind to try to reduce the noise. The attached should have hopefully > > > tackled the ci errors. > > > > > > Yep. Are you using cirrusci under your github account ? > > Thank you. To be very honest, I am not using github exclusively to post patches. > Sometimes I do, sometimes I do not. Is github a requirement? Github isn't a requirement for postgres (but cirrusci only supports github). I wasn't not trying to say that it's required, only trying to make sure that you (and others) know that it's available, since our cirrus.yml is relatively new. > > > > > 002 breaks "pg_dump -Fc -Z2" because (I think) AllocateCompressor() > > > > > doesn't store the passed-in compression_spec. > > > > > > I am afraid I have not been able to reproduce this error. I tried both > > > debian and freebsd after I addressed the compilation warnings. Which > > > error did you get? Is it still present in the attached? > > > > > > It's not that there's an error - it's that compression isn't working. > > > > $ ./tmp_install/usr/local/pgsql/bin/pg_dump -h /tmp -Z1 -Fp regression |wc -c > > 659956 > > $ ./tmp_install/usr/local/pgsql/bin/pg_dump -h /tmp -Z2 -Fp regression |wc -c > > 637192 > > > > $ ./tmp_install/usr/local/pgsql/bin/pg_dump -h /tmp -Z1 -Fc regression |wc -c > > 1954890 > > $ ./tmp_install/usr/local/pgsql/bin/pg_dump -h /tmp -Z2 -Fc regression |wc -c > > 1954890 > > > > Thank you. Now I understand what you mean. Trying the same on top of v18-0003 > on Ubuntu 22.04 yields: You're right; this seems to be fixed in v18. Thanks. It looks like I'd forgotten to run "meson test tmp_install", so had retested v17... -- Justin