Package Details: postgresql-src-docs 15.2-1

Git Clone URL: (read-only, click to copy)
Package Base: postgresql-src
Description: HTML documentation for PostgreSQL
Upstream URL:
Licenses: custom:PostgreSQL
Conflicts: postgresql-docs
Provides: postgresql-docs
Submitter: gregbunk
Maintainer: gregbunk
Last Packager: gregbunk
Votes: 0
Popularity: 0.000000
First Submitted: 2016-09-30 12:26 (UTC)
Last Updated: 2023-02-15 16:17 (UTC)

Latest Comments

chrbayer commented on 2020-10-22 11:24 (UTC) (edited on 2020-10-22 12:41 (UTC) by chrbayer)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2020-10-22 08:39 (UTC) by chrbayer)

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 (UTC)

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 (UTC)

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

intgr commented on 2018-11-20 20:08 (UTC)

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