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 1ntEsV-00046f-PZ for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 23 May 2022 20:42:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ntEsU-0008Qj-I7 for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 23 May 2022 20:42:10 +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 1ntEsU-0008Qa-8M for pgsql-pkg-yum@lists.postgresql.org; Mon, 23 May 2022 20:42:10 +0000 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ntEsQ-0005UA-Ry for pgsql-pkg-yum@postgresql.org; Mon, 23 May 2022 20:42:09 +0000 Received: by mail-qk1-x72f.google.com with SMTP id v11so13740923qkf.1 for ; Mon, 23 May 2022 13:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=+GrB+0TLZsjbAEXxYdVwG655jXXOgpg7SHstvv+EW4k=; b=NMgveT+aj3hYCdd3g8TUGY0UmO9VVvDtgIy0Ugo5UFUQ1Wo0iLtyuQ7hSZi1Nb4XVa r0KHMtqg1MxulzuGW8TcV5IvZUW1gyWOgzfR6UzWeVcSaAgcj+0fDWbZ8Jg+uKkZYalJ /Eqv5yJJuGoJcKkVJQrJX9ZsY8UrUe9hHzJw8kdlk6rM1wn25T9vGLN4uqkL2km6moBk sApb3vscweQeJ1BGw0kw8TCF6D6X/TnJIponWnydRAbe+CuY0qDgq8byR2cC9ecCIzK7 pylgfccviniNlm3DPtc9/qVZ4/vN3f+WiA99qvhg0yxtFGarb6jbzJGiYqrDFguoyU3q N06g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=+GrB+0TLZsjbAEXxYdVwG655jXXOgpg7SHstvv+EW4k=; b=KE74CWWabJjNw8jGOcTpPQ4XgdEYyAa37l853vLWIP7ObF+a+6bV3KEdnGDGTj1XpA 9WfpQf4AeVS07N6Y8TDGuyViE0RaiypfkQfRJXUGsLIE+28coJqeOIvxixdlutPn+dh1 6tn5QyaOCbm4ribFy3orehBuc5wtWgixDKpvVIZcDwoLnG1ps2cXWxMr/OolMuMdkQRP GAu/+mPMLBBjgoBeIn3XGmqEkf+f/9mr73BqcoBmpmG72C49UBEDqeKCuvRzu28b4Mnv SKifk/btSEnVFntThvD+lGyfSAdaTWXL2imNFwhNe9RFGeNRnLBhAd+L6MAdBr6qxeLe QZXQ== X-Gm-Message-State: AOAM532jxIZUhv4M7OSUNfn+N31w8XYyb2g0GTLjs/VPI1CaRt03L9fu huYGnFuTKoDHHYo/1f9MEMmbCw== X-Google-Smtp-Source: ABdhPJwakq5lNGXiKxXxTQD8xKKjaWorduiGLGonbtyTj6vAx4na6iBUpo/BaPE2roptN78kXsKMyA== X-Received: by 2002:a37:2d45:0:b0:6a3:31d4:8a59 with SMTP id t66-20020a372d45000000b006a331d48a59mr13566806qkh.753.1653338525558; Mon, 23 May 2022 13:42:05 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id z19-20020a05620a08d300b006a37eb728cfsm2977590qkz.1.2022.05.23.13.42.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 May 2022 13:42:05 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 12178800C62; Mon, 23 May 2022 15:42:04 -0500 (CDT) Date: Mon, 23 May 2022 15:42:03 -0500 From: Justin Pryzby To: Devrim =?iso-8859-1?B?R/xuZPx6?= Cc: Paul Ramsey , Christoph Berg , pgsql-pkg-yum@postgresql.org Subject: Re: postgis for beta releases Message-ID: <20220523204203.GE19626@telsasoft.com> References: <20210520163737.GA18818@telsasoft.com> <20210601233925.GD2082@telsasoft.com> <20210816223804.GF10479@telsasoft.com> <20220519161601.GQ19626@telsasoft.com> <7ffbe55cc548f956864e60fca19067d6d539b623.camel@gunduz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <7ffbe55cc548f956864e60fca19067d6d539b623.camel@gunduz.org> 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 Hmm I think this is being evaluated as "0" for rhel, so needs to test for suse_version > 0. https://git.postgresql.org/gitweb/?p=3Dpgrpms.git;a=3Dblob;f=3Drpm/redhat/m= ain/non-common/postgresql-15/main/postgresql-15.spec;h=3D7da2dbc72f1cdee800= 3c7d71b6ccead89adc85ce;hb=3D3a5d4584b9c18de8c42d172032c01bfe948c8167 640 %if 0%{?suse_version} <=3D 1315 641 %else 642 --with-zstd \ 643 %endif postgresql15-15.0-beta1_PGDG.rhel7.x86_64 ts=3D# SELECT version(), setting FROM pg_config() WHERE name=3D'CONFIGURE'; version|PostgreSQL 15beta1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.= 8.5 20150623 (Red Hat 4.8.5-44), 64-bit setting| '--enable-rpath' '--prefix=3D/usr/pgsql-15' '--includedir=3D/usr/p= gsql-15/include' '--mandir=3D/usr/pgsql-15/share/man' '--datadir=3D/usr/pgs= ql-15/share' '--libdir=3D/usr/pgsql-15/lib' '--with-lz4' '--enable-debug' '= --enable-cassert' '--with-icu' '--with-llvm' '--with-perl' '--with-python' = '--with-tcl' '--with-tclconfig=3D/usr/lib64' '--with-openssl' '--with-pam' = '--with-gssapi' '--with-includes=3D/usr/include' '--with-libraries=3D/usr/l= ib64' '--enable-nls' '--enable-dtrace' '--with-uuid=3De2fs' '--with-libxml'= '--with-libxslt' '--with-ldap' '--with-selinux' '--with-systemd' '--with-s= ystem-tzdata=3D/usr/share/zoneinfo' '--sysconfdir=3D/etc/sysconfig/pgsql' '= --docdir=3D/usr/pgsql-15/doc' '--htmldir=3D/usr/pgsql-15/doc/html' 'CFLAGS= =3D-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protec= tor-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -m64 -mtun= e=3Dgeneric' 'LLVM_CONFIG=3D/usr/lib64/llvm5.0/bin/llvm-config' 'CLANG=3D/o= pt/rh/llvm-toolset-7/root/usr/bin/clang' 'PKG_CONFIG_PATH=3D:/usr/lib64/pkg= config:/usr/share/pkgconfig' 'PYTHON=3D/usr/bin/python3' postgres=3D# SET wal_compression =3Dzstd; ERROR: invalid value for parameter "wal_compression": "zstd" HINT: Available values: pglz, lz4, on, off. [pryzbyj@template0 ~]$ sudo rpm -e libzstd-1.5.2-1.el7.x86_64 error: Failed dependencies: libzstd >=3D 1.4.0 is needed by (installed) postgresql15-15.0-beta1= _PGDG.rhel7.x86_64 On Mon, May 23, 2022 at 09:11:00PM +0100, Devrim G=FCnd=FCz wrote: > Hi, >=20 > On Thu, 2022-05-19 at 11:16 -0500, Justin Pryzby wrote: > >=20 > > Also, could you build v15 with --enable-zstd ? >=20 > commit 1bd03ce822dea86438ae538bdbd39600359c0133 > Author: Devrim G=FCnd=FCz > Date: Thu Mar 31 12:19:30 2022 +0100 > -- > PostgreSQL 15: Compile with --with-zstd to support zstd compression > of full-page writes in WAL --=20 Justin Pryzby System Administrator Telsasoft +1-952-707-8581