pgsql: Copy name when cloning FKs recurses to partitions - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Copy name when cloning FKs recurses to partitions
Date
Msg-id E1hBkl1-0003kQ-QH@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Support foreign keys that reference partitioned tables
Next
From: Stephen Frost
Date:
Subject: pgsql: GSSAPI encryption support