Fix RELCACHE_FORCE_RELEASE issue
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 11 Apr 2020 13:07:25 +0000 (15:07 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 11 Apr 2020 13:07:25 +0000 (15:07 +0200)
commit12fb189bfeaf03faea5b6f15544c1f71e9ef4677
treeac9acdd3a812cb263a52a7bfc44100eed98439be
parent5a1d0c9925fbda9ec434061dee74b1b5d9a16038
Fix RELCACHE_FORCE_RELEASE issue

Introduced by 83fd4532a72179c370e318075a10e0e2aa832024.  To fix, the
tuple descriptors need to be copied into the current memory context.

Discussion: https://www.postgresql.org/message-id/04d78603-edae-9243-9dde-fe3037176a7d@2ndquadrant.com
src/backend/replication/pgoutput/pgoutput.c