Don't rely on llvm::make_unique.

Thomas Munro <tmunro@postgresql.org>

Commit: f493d98c167321e5d5c17dd7d795721045a81c97
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2019-08-25T02:45:51Z
Releases: 13.0
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

Files

PathChange+/−
src/backend/jit/llvm/llvmjit_inline.cpp modified +1 −1

Discussion