public inbox for [email protected]  
help / color / mirror / Atom feed
From: Justin Pryzby <[email protected]>
To: Devrim Gündüz <[email protected]>
Cc: Paul Ramsey <[email protected]>
Cc: Christoph Berg <[email protected]>
Cc: [email protected]
Subject: Re: postgis for beta releases
Date: Mon, 23 May 2022 15:42:03 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<YKa6VDK/[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

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=pgrpms.git;a=blob;f=rpm/redhat/main/non-common/postgresql-15/ma...
 640 %if 0%{?suse_version} <= 1315
 641 %else
 642         --with-zstd \
 643 %endif

postgresql15-15.0-beta1_PGDG.rhel7.x86_64

ts=# SELECT version(), setting FROM pg_config() WHERE name='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=/usr/pgsql-15' '--includedir=/usr/pgsql-15/include' '--mandir=/usr/pgsql-15/share/man' '--datadir=/usr/pgsql-15/share' '--libdir=/usr/pgsql-15/lib' '--with-lz4' '--enable-debug' '--enable-cassert' '--with-icu' '--with-llvm' '--with-perl' '--with-python' '--with-tcl' '--with-tclconfig=/usr/lib64' '--with-openssl' '--with-pam' '--with-gssapi' '--with-includes=/usr/include' '--with-libraries=/usr/lib64' '--enable-nls' '--enable-dtrace' '--with-uuid=e2fs' '--with-libxml' '--with-libxslt' '--with-ldap' '--with-selinux' '--with-systemd' '--with-system-tzdata=/usr/share/zoneinfo' '--sysconfdir=/etc/sysconfig/pgsql' '--docdir=/usr/pgsql-15/doc' '--htmldir=/usr/pgsql-15/doc/html' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic' 'LLVM_CONFIG=/usr/lib64/llvm5.0/bin/llvm-config' 'CLANG=/opt/rh/llvm-toolset-7/root/usr/bin/clang' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' 'PYTHON=/usr/bin/python3'

postgres=# SET wal_compression =zstd;
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 >= 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ündüz wrote:
> Hi,
> 
> On Thu, 2022-05-19 at 11:16 -0500, Justin Pryzby wrote:
> > 
> > Also, could you build v15 with --enable-zstd ?
> 
> commit 1bd03ce822dea86438ae538bdbd39600359c0133
> Author: Devrim Gündüz <[email protected]>
> 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



-- 
Justin Pryzby
System Administrator
Telsasoft
+1-952-707-8581





view thread (52+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: postgis for beta releases
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox