From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Copy name when cloning FKs recurses to partitions
Date: Wed, 03 Apr 2019 18:37:07 +0000
Message-ID: <E1hBkl1-0003kQ-QH@gemulon.postgresql.org> (raw)
Copy name when cloning FKs recurses to partitions
We were passing a string owned by a syscache entry, which was released
before recursing. Fix by pstrdup'ing the string.
Per buildfarm member prion.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5f6fc34af5712995026267b9ace79d06b258a0ae
Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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: Copy name when cloning FKs recurses to partitions
In-Reply-To: <E1hBkl1-0003kQ-QH@gemulon.postgresql.org>
References: <E1hBkl1-0003kQ-QH@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