pgsql: Add missing pstrdup

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing pstrdup
Date: 2018-04-23 15:12:34
Message-ID: E1fAd8s-0003wa-Ab@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-04-23 15:44:58 pgsql: Make Emacs settings match perltidy configuration
Previous Message Teodor Sigaev 2018-04-23 14:59:53 pgsql: Make bms_prev_member work correctly with a 64 bit bitmapword