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 1oMWKu-0000A2-KE for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 12 Aug 2022 15:12:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oMWKt-0003s5-IO for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 12 Aug 2022 15:12:31 +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 1oMW1r-0002uj-QU for pgsql-pkg-debian@lists.postgresql.org; Fri, 12 Aug 2022 14:52:52 +0000 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oMW1p-00083q-3j for pgsql-pkg-debian@lists.postgresql.org; Fri, 12 Aug 2022 14:52:50 +0000 Received: by mail-io1-xd2d.google.com with SMTP id o2so977948iof.8 for ; Fri, 12 Aug 2022 07:52:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=748UKmZvMS9W8xkQcpfN0+xjoHRzlrnzuodmck008B0=; b=BgfdWO/2hiaWLWjnRaqiTxWpGJ3DxcvlM//SVna5CvZDl1AUgXhXMlHHr6B15ljkkr 52znSCjECCYKNzmMk4CCRw84jD0uph3wma852QkEfmz9u7rvff+HBBWqLvjQVDktshng HDxu8s65/Um81BGhXNRDJLozzGzg7t/BHOgvvKUq7Pt2kEqWhPe0AeifR3pVWdjQRR1e 4fMBdXj4oEWRS8MMGSC9pufRkgXd1MJMP6gIlqFxYnUZ4npl6dRjSdHUFQ9VQjwif0Is O3gQh3P8p9g8CaTSB5BQu0KmByFuFYc/V35kfR0w9Hq8i5kuAxejHaGTzzCsX+nnc2u7 1Pgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=748UKmZvMS9W8xkQcpfN0+xjoHRzlrnzuodmck008B0=; b=J7XfAPLc/U2lAuDh1jUhsDHhJ/cVWPDSoXFdScRD6cqcdszYuDZ4BFXBxZOnAF545D cLeROX0jE0jHxoDgDxiKM7NgnY9DP7fr1fFBBxTsxSM6EIBCsimvzVp95ImHXG2bYXPC cs9Usk2vAwfxeTWtQrgcR5i7I1uNOrCzyxQusUU8gN94w5GbBGihIX3xK+sjiM2y+e9t PamuD6ygIQIFfYqVRSWKTY29nYP++1Mp7OzPf6FEAn8LS4tfQU4zm575ynU4+fFuLYGA 5ELzOWGOiVdfU8maSYPbt6FTeIS6kw3YZ9oT5eS6PCkq6hEfym6HWrA+UOctxrsHtzdw crww== X-Gm-Message-State: ACgBeo244CZ4oXuPpIRrMP77FzqNcZGwKKtpPsl73u7RwMqRbRoIrvmR mU/CX1d8gjEJA4dC9yUr1sXPxir+J59sh4V5PJ7g5GUw0961Y7JVzcvmtPcz4MeUbOxNu/VCEVI +O4MwhAKV5iC6vllCWmOTXwIHtJqQoUm55B/0mqZ0tUiXfGmS7HWFsLFY8/Q9aBsor7qlACYNVC 1rgJ4NaJHJyID/wlJNlEzyRDMCsEPkvWNLkQXrYPKY5JToMgpyGbqEIqbYp/ssmX3KQXKr4W1NA moZDg4uGfSv X-Google-Smtp-Source: AA6agR5jvcLPrdf+ez20KksjJCU956yqkCGzlU72URdHnlpe4NPAWzISJhDtmchAzYxCmyl/qqWUyFJv8/+J5kU6K9Y= X-Received: by 2002:a05:6638:1301:b0:342:c20d:3b15 with SMTP id r1-20020a056638130100b00342c20d3b15mr2144547jad.59.1660315967545; Fri, 12 Aug 2022 07:52:47 -0700 (PDT) MIME-Version: 1.0 From: Didier Michel Date: Fri, 12 Aug 2022 16:52:36 +0200 Message-ID: Subject: Issues with PG15beta3 To: pgsql-pkg-debian@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000075fb1d05e60c6fec" X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000075fb1d05e60c6fec Content-Type: text/plain; charset="UTF-8" Hello, I am integrating new pg_basebackup zstd compression functionality in Barman for compressed backup. I do encounter two main issues when using zstd compression algorithm: On ubuntu 18.04 : - command exemple: /usr/bin/pg_basebackup --dbname=dbname=replication host=db options=-cdatestyle=iso port=5432 replication=true user=barman_streaming application_name=barman_streaming_backup -v --no-password --pgdata=/var/lib/barman/main/base/20220811T162557/data --no-slot --wal-method=none --checkpoint=fast --format=tar --compress=zstd:level=5 Interesting part is "--compress=zstd:level=5" - pg_basebackup response: pg_basebackup: checkpoint completed pg_basebackup: error: this build does not support zstd compression On Ubuntu 20.04 and 22.04: The same command works. But When I try to introduce workers option (ie "--compress=zstd:level=5,workers=2") it fails with following error: pg_basebackup: checkpoint completed pg_basebackup: error: could not set compression worker count to 2: Unsupported parameter Unless I have misused pg_basebackup (which is completely possible), I am wondering if there could be an issue with PG packaging or compilation (especially for workers that triggers threads) Hoping this can help deliver PG15. Regards. Didier Michel --00000000000075fb1d05e60c6fec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am integrating new pg_basebackup zstd comp= ression functionality in Barman for compressed backup.

I do encounte= r two main issues when using zstd compression algorithm:

On ubuntu 1= 8.04 :=C2=A0
- command exemple:=C2=A0=C2=A0/usr/bin/pg_basebackup --dbname= =3Ddbname=3Dreplication host=3Ddb options=3D-cdatestyle=3Diso port=3D5432 r= eplication=3Dtrue user=3Dbarman_streaming application_name=3Dbarman_stre= aming_backup -v --no-password
--pgdata=3D/var/lib/barman/main/base/2022= 0811T162557/data --no-slot --wal-method=3Dnone
--checkpoint=3Dfast=C2= =A0
=C2=A0--format=3Dtar
= --compress=3Dzstd:level=3D5

Interesting part is "--co= mpress=3Dzstd:level=3D5"
- pg_basebackup response:=C2=A0
pg_basebackup: checkpoint completed
= pg_basebackup: error: thi= s build does not support zstd compression


On Ubuntu 20.04 and 22= .04:
The same command works. But When=C2=A0I try to introduce workers op= tion (ie "--compress=3Dzstd:level=3D5,workers=3D2") it fails with= following error:
pg_basebackup=
: checkpoint completed
pg_basebackup: error: could not set compression worker count to 2: = Unsupported parameter

Unless I have m= isused pg_basebackup (which is completely=C2=A0possible), I am wondering if= there could be an issue with PG packaging=C2=A0 or compilation (especially= =C2=A0for workers that triggers threads)

Hoping this can help delive= r PG15.
Regards.

Didier Michel
--00000000000075fb1d05e60c6fec--