]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove duplicate code in brin_memtuple_initialize
authorTomas Vondra <tomas.vondra@postgresql.org>
Wed, 11 Nov 2020 17:37:36 +0000 (18:37 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Wed, 11 Nov 2020 17:54:54 +0000 (18:54 +0100)
commitc4424d33cca9719ae925d0cc018acf32182a6d95
tree8476c2c2c9a47c6dd1b38b5a59064e81768c8af6
parent3a89ea0eb64a1b50b27de1965fdb2173a04d5e11
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