Skip to content

Commit 913a03e

Browse files
committed
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
1 parent 67a8cb5 commit 913a03e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/access/brin/brin.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,8 +1262,6 @@ initialize_brin_buildstate(Relation idxRel, BrinRevmap *revmap,
12621262
state->bs_bdesc = brin_build_desc(idxRel);
12631263
state->bs_dtuple = brin_new_memtuple(state->bs_bdesc);
12641264

1265-
brin_memtuple_initialize(state->bs_dtuple, state->bs_bdesc);
1266-
12671265
return state;
12681266
}
12691267

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy