pgsql: Remove duplicate code in brin_memtuple_initialize

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove duplicate code in brin_memtuple_initialize
Date: 2020-11-11 18:05:07
Message-ID: E1kcuUV-0004OV-6b@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/42c63ab6e2c39c2fbfc70fa659b0cf5692178b77

Modified Files
--------------
src/backend/access/brin/brin_tuple.c | 3 ---
1 file changed, 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2020-11-11 18:05:20 pgsql: Remove duplicate code in brin_memtuple_initialize
Previous Message Peter Eisentraut 2020-11-11 16:38:00 pgsql: Fix some stray whitespace in parser files