pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add missing pstrdup
Date: Mon, 23 Apr 2018 15:12:34 +0000
Message-ID: <E1fAd8s-0003wa-Ab@gemulon.postgresql.org> (raw)

Add missing pstrdup

Lifetime of the input string is not right, so create a separate copy.

Author: Amit Langote
Discussion: https://postgr.es/m/a2773420-50d1-0a42-3396-fe42b0921134@lab.ntt.co.jp

Branch
------
master

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

Modified Files
--------------
src/backend/commands/tablecmds.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



Message-ID: <E1fAd8s-0003wa-Ab@gemulon.postgresql.org>
Permalink:  ../E1fAd8s-0003wa-Ab@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fAd8s-0003wa-Ab@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Add missing pstrdup
  In-Reply-To: <E1fAd8s-0003wa-Ab@gemulon.postgresql.org>
  References: <E1fAd8s-0003wa-Ab@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