pgsql: Don't rely on llvm::make_unique.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't rely on llvm::make_unique.
Date: 2019-08-25 02:54:15
Message-ID: E1i1ifX-0007Se-0k@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-08-25 02:54:29 pgsql: Don't rely on llvm::make_unique.
Previous Message Michael Paquier 2019-08-24 03:36:29 Re: pgsql: Detect unused steps in isolation specs and do some cleanup