a9b30a6281
* Repair ABI break for extensions that work with struct ResultRelInfo. * Restore functionality of ALTER {ROLE|DATABASE} SET role. * Fix cases where a logical replication slot's restart_lsn could go backwards. * Avoid deleting still-needed WAL files during pg_rewind. * Fix race conditions associated with dropping shared statistics entries. * Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter. * Fix crash when checking to see if an index's opclass options have changed. * Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing. * https://www.postgresql.org/about/news/p-2965/ * https://www.postgresql.org/docs/release/15.10/ OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql15?expand=0&rev=62
17 lines
562 B
Diff
17 lines
562 B
Diff
--- src/Makefile.global.in.orig
|
|
+++ src/Makefile.global.in
|
|
@@ -192,7 +192,12 @@ with_krb_srvnam = @with_krb_srvnam@
|
|
with_ldap = @with_ldap@
|
|
with_libxml = @with_libxml@
|
|
with_libxslt = @with_libxslt@
|
|
-with_llvm = @with_llvm@
|
|
+# Only build for LLVM, if the core supports it and the llvm and clang packages are installed.
|
|
+ifeq (@with_llvm@ $(wildcard /usr/bin/clang /usr/bin/llvm-lto),yes /usr/bin/clang /usr/bin/llvm-lto)
|
|
+with_llvm = yes
|
|
+else
|
|
+with_llvm = no
|
|
+endif
|
|
with_system_tzdata = @with_system_tzdata@
|
|
with_uuid = @with_uuid@
|
|
with_zlib = @with_zlib@
|