]> granicus.if.org Git - postgresql/commit
Fix incorrect code in new REINDEX CONCURRENTLY code
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 29 Mar 2019 09:53:40 +0000 (10:53 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 29 Mar 2019 09:53:40 +0000 (10:53 +0100)
commitbb76134b08aa46cdeb0ff1e6d7b392d315529a8c
tree0e7f47a535dac45c171c154312d7330c00ed467f
parent5dc92b844e680c54a7ecd68de0ba53c949c3d605
Fix incorrect code in new REINDEX CONCURRENTLY code

The previous code was adding pointers to transient variables to a
list, but by the time the list was read, the variable might be gone,
depending on the compiler.  Fix it by making copies in the proper
memory context.
src/backend/commands/indexcmds.c