pgsql: Don't rely on llvm::make_unique. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Don't rely on llvm::make_unique.
Date
Msg-id E1i1ify-0007Tb-Hh@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Don't rely on llvm::make_unique.

Bleeding-edge LLVM has stopped supplying replacements for various
C++14 library features, for people on older C++ versions.  Since we're
not ready to require C++14 yet, just use plain old new instead of
make_unique.  As revealed by buildfarm animal seawasp.

Back-patch to 11.

Reviewed-by: Andres Freund
Discussion: https://postgr.es/m/CA%2BhUKGJWG7unNqmkxg7nC5o3o-0p2XP6co4r%3D9epqYMm8UY4Mw%40mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ee18293a4e722e7681e264dfeab9f0af24d4adb1

Modified Files
--------------
src/backend/jit/llvm/llvmjit_inline.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Don't rely on llvm::make_unique.
Next
From: Tom Lane
Date:
Subject: pgsql: Back off output precision in circle.sql regression test.