Skip to content

Commit 7c1a9cc

Browse files
committed
Resolve rebase conflicts contrib/bloom
with respect to ccadf73
1 parent fa54f30 commit 7c1a9cc

1 file changed

Lines changed: 0 additions & 30 deletions

File tree

contrib/bloom/blinsert.c

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -163,38 +163,8 @@ blbuild(Relation heap, Relation index, IndexInfo *indexInfo)
163163
void
164164
blbuildempty(Relation index)
165165
{
166-
<<<<<<< HEAD
167-
Page metapage;
168-
169-
/* Construct metapage. */
170-
metapage = (Page) palloc(BLCKSZ);
171-
BloomFillMetapage(index, metapage);
172-
173-
/*
174-
* Write the page and log it. It might seem that an immediate sync would
175-
* be sufficient to guarantee that the file exists on disk, but recovery
176-
* itself might remove it while replaying, for example, an
177-
* XLOG_DBASE_CREATE or XLOG_TBLSPC_CREATE record. Therefore, we need
178-
* this even when wal_level=minimal.
179-
*/
180-
PageEncryptInplace(metapage, INIT_FORKNUM,
181-
BLOOM_METAPAGE_BLKNO);
182-
PageSetChecksumInplace(metapage, BLOOM_METAPAGE_BLKNO);
183-
smgrwrite(index->rd_smgr, INIT_FORKNUM, BLOOM_METAPAGE_BLKNO,
184-
(char *) metapage, true);
185-
log_newpage(&index->rd_smgr->smgr_rnode.node, INIT_FORKNUM,
186-
BLOOM_METAPAGE_BLKNO, metapage, true);
187-
188-
/*
189-
* An immediate sync is required even if we xlog'd the page, because the
190-
* write did not go through shared_buffers and therefore a concurrent
191-
* checkpoint may have moved the redo pointer past our xlog record.
192-
*/
193-
smgrimmedsync(index->rd_smgr, INIT_FORKNUM);
194-
=======
195166
/* Initialize the meta page */
196167
BloomInitMetapage(index, INIT_FORKNUM);
197-
>>>>>>> REL_16_9
198168
}
199169

200170
/*

0 commit comments

Comments
 (0)