Remove duplicate code in brin_memtuple_initialize

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: c885e4a2f93cff543a7e0ccaaf82b8148fc53401
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2020-11-11T17:46:25Z
Releases: 13.2
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

Files

PathChange+/−
src/backend/access/brin/brin_tuple.c modified +0 −3

Discussion