pgsql: Remove redundant initialization of BrinMemTuple.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove redundant initialization of BrinMemTuple.
Date: 2022-01-04 21:53:14
Message-ID: E1n4rk2-0004gj-Us@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove redundant initialization of BrinMemTuple.

brin_new_memtuple already did this, so there's no need
for initialize_brin_buildstate to do it again.

Richard Guo, reviewed by Bharath Rupireddy

Discussion: https://postgr.es/m/CAMbWs4-kYYpKNOdiWtsCZ3jbkFFj4nhOVH22JH7dsrMYX=aGjg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/913a03ec29abcb6c20e5941e5f3ac0578619cd3e

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-01-05 01:28:34 pgsql: Reduce relcache access in WAL sender streaming logical changes
Previous Message Alvaro Herrera 2022-01-04 16:27:12 pgsql: Fix silly mistake in Assert