Postgres 13 ERROR incomatible data layouts on s390x - postgresql

Platform: Linux version 3.10.0-693.el7.s390x (mockbuild#clefos-build-image08.bld.sinenomine.net) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Sat Sep 16 05:21:59 EDT 2017
Postgres version: PostgreSQL 13.6 on s390x-ibm-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
Postgres' docker image used: 13-alpine, hash ad9f6807f8a2
org.postgresql.util.PSQLException: ERROR: failed to JIT module: Added modules have incompatible data layouts: E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-a:8:16-n32:64 (module) vs E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64 (jit)

#a_horse_with_no_name disabling jit fixed it

Related

Cannot convert in dblink connection Postgresql

i wanted to get data but different server, that why i am using DB link on postgresql
but somehow when i using on Dblink, the query return error
i cannot see what the couse is this bug?
i am using 'PostgreSQL 13.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit'

Changes in postgresql.conf won't apply

PostgreSQL 9.2.23 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150
623 (Red Hat 4.8.5-16), 64-bit
Im try to make changes in postgresql.conf.
effective_cache_size = 3GB
but when I write SHOW effective_cache_size; It's still 128MB.
I have reloaded the postgresql, restarted it but it's still using default settings. What should I do?

How to check if my Postgres is Enterprise or Community edition?

When I select for version I get:
postgres=# SELECT version();
version
---------------------------------------------------------------------------------------------------------
PostgreSQL 10.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18), 64-bit
(1 row)
But it doesn't says anything about Enterprise/Community.

Installed OS version not matching /proc/version

I installed Centos v7.2 While I do cat /proc/version I see this
Linux version 3.10.0-327.el7.x86_64 (builder#kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015
Why is this Red Hat 4.8.3-9? Should it not be in versions of 7.x.x?
/proc/version specifies the version of the installed kernel ("3.10.0-327.el7.x86_64" in your case) and the version of gcc used to compile it ( "4.8.3 20140911 (Red Hat 4.8.3-9)").
The CentOS/RHEL version can be found in /etc/redhat-release.

Which is the Postgres version

I have a doubt about my version of Postgres installed in my environment.
This is my os: CentOS Linux release 7.3.1611 (Core)
In /usr/ I can see: pgsql-9.4/ folder.
But when I do: select version(); I get:
PostgreSQL 9.2.18 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5
20150623 (Red Hat 4.8.5-11), 64-bit
So, what version do I have?
To determine the version of the database server, use select version() (from a connection to the database):
postgres=# select version();
version
----------------------------------------------------------------------------------------------------------------
PostgreSQL 9.2.14 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit
To determine the version of the database client, use psql --version (from your shell command line):
$ psql --version
psql (PostgreSQL) 9.6.2
The server is where data is stored. The client is the software you use to connect to the server. They can be different versions.
Simply check the version by this command: psql --version
You may of course have more than one instance of Postgresql. Try this sql to show your current instance location in case there is more than one
SHOW data_directory;