Package Details: postgresql-src 13.0-1

Git Clone URL: https://aur.archlinux.org/postgresql-src.git (read-only, click to copy)
Package Base: postgresql-src
Description: A sophisticated object-relational DBMS (from source, LTO enabled)
Upstream URL: http://www.postgresql.org/
Licenses: custom:PostgreSQL
Conflicts: postgresql
Provides: postgresql
Submitter: gregbunk
Maintainer: gregbunk
Last Packager: gregbunk
Votes: 0
Popularity: 0.000000
First Submitted: 2016-09-30 12:26
Last Updated: 2020-09-24 16:13

Dependencies (14)

Required by (266)

Sources (6)

Latest Comments

chrbayer commented on 2020-10-22 11:24

I analyzed it a bit further. In the line

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -flto pg_repack.o pgut/pgut.o pgut/pgut-fe.o  -L/usr/lib -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -flto -flto -L/usr/lib  -Wl,--as-needed -Wl,-rpath,'/usr/lib',--enable-new-dtags  -L/usr/lib -lpq -L/usr/lib/postgresql -lpgcommon -lpgport -lpthread -lssl -lcrypto -lz -lreadline -lrt -ldl -lm -o pg_repack

the symbols in libpgcommon.a and libpgport.a are not usable for whatever reason.

Looks like version 12.4 does not use lto which is thus not used for the pg_repack extension.

I found one hint: the static lib should not be build with ar but with gcc-ar instead and gcc-ranlib instead of ranlib, I'll try to test this this evening.

chrbayer commented on 2020-10-22 09:18

By the way, you need to add llvm and clang at least as make dependencies to be able to compile it in a clean environment.

gregbunk commented on 2020-10-22 08:22

No, I was not previously aware of pg_repack. Looks very cool. I'll take a look and see if I can see what's wrong.

chrbayer commented on 2020-10-21 22:39

Thank you very much! It worked mostly, I only have the problem that I need to rebuild the pg_repack extension (a missing symbol reminded me of that), but this does not build any more. Have you tried that? During restore I saw that I do need this in my setup :-) For 12.4 The re_repack builds just fine, for 13 the linker complains about some missing symbols like pg_printf and pg_stricmp...

gregbunk commented on 2020-10-21 16:49

Right now you need to do so manually. I stop the existing server, dump everything, save postgresql.conf and pg_hba.conf from the data directory, delete the data directory, upgrade, recreate the data directory and initialize using initdb (instructions in the Arch wiki), copy back the two conf files, start the server and reload everything. Sounds like a lot, but actually pretty straightforward.

chrbayer commented on 2020-10-21 16:46

Thanks for providing this! How do I upgrade from 12.4 since I have not seen a postgresql-old-upgrade version 12.4 somewhere?

TheGoliath commented on 2020-05-19 10:21

May I be added as a co-maintainer as I'd like to help maintain the package?

TheGoliath commented on 2020-05-16 15:03

You should reset the pkgrel back to 1 after bumping the pkgver

Cheers

intgr commented on 2018-11-20 20:08

Instead of --with-jit, the package should use --with-llvm to enable JIT support.