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