pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't rely on llvm::make_unique.
Date: Sun, 25 Aug 2019 02:54:29 +0000
Message-ID: <E1i1ifl-0007T8-HO@gemulon.postgresql.org> (raw)

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/54ff1c34f11b3f899be66fa55f85dbace83be741

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



view thread (3+ messages)  latest in thread

Message-ID: <E1i1ifl-0007T8-HO@gemulon.postgresql.org>
Permalink:  ../E1i1ifl-0007T8-HO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i1ifl-0007T8-HO@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Don't rely on llvm::make_unique.
  In-Reply-To: <E1i1ifl-0007T8-HO@gemulon.postgresql.org>
  References: <E1i1ifl-0007T8-HO@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox