Remove duplicate code in brin_memtuple_initialize
authorTomas Vondra
Wed, 11 Nov 2020 17:37:36 +0000 (18:37 +0100)
committerTomas Vondra
Wed, 11 Nov 2020 17:49:41 +0000 (18:49 +0100)
commit0d0626e27d56a52f78cd71a796ee2e8fe216f217
treeb5f72f8c6b4cde561564a02a89c45ac21b51a5de
parent171c457cd06051b5910cf357ea6a77643b69088a
Remove duplicate code in brin_memtuple_initialize

Commit 8bf74967dab moved some of the code from brin_new_memtuple to
brin_memtuple_initialize, but this resulted in some of the code being
duplicate. Fix by removing the duplicate lines and backpatch to 10.

Author: Tomas Vondra
Backpatch-through: 10
Discussion: https://postgr.es/m/5eb50c97-9a8e-b691-8c40-1b2a55611c4c%40enterprisedb.com
src/backend/access/brin/brin_tuple.c