diff options
author | Bruce Momjian | 2017-05-17 20:31:56 +0000 |
---|---|---|
committer | Bruce Momjian | 2017-05-17 20:31:56 +0000 |
commit | a6fd7b7a5f7bf3a8aa3f3d076cf09d922c1c6dd2 (patch) | |
tree | d10454411c05d459abe06df161ab3c1156c5f477 /contrib/bloom | |
parent | 8a943324780259757c77c56cfc597347d1150cdb (diff) |
Post-PG 10 beta1 pgindent run
perltidy run not included.
Diffstat (limited to 'contrib/bloom')
-rw-r--r-- | contrib/bloom/blinsert.c | 10 | ||||
-rw-r--r-- | contrib/bloom/blutils.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/contrib/bloom/blinsert.c b/contrib/bloom/blinsert.c index 913f1f8a518..0d506e3c1ad 100644 --- a/contrib/bloom/blinsert.c +++ b/contrib/bloom/blinsert.c @@ -165,11 +165,11 @@ blbuildempty(Relation index) BloomFillMetapage(index, metapage); /* - * Write the page and log it. It might seem that an immediate sync - * would be sufficient to guarantee that the file exists on disk, but - * recovery itself might remove it while replaying, for example, an - * XLOG_DBASE_CREATE or XLOG_TBLSPC_CREATE record. Therefore, we - * need this even when wal_level=minimal. + * Write the page and log it. It might seem that an immediate sync would + * be sufficient to guarantee that the file exists on disk, but recovery + * itself might remove it while replaying, for example, an + * XLOG_DBASE_CREATE or XLOG_TBLSPC_CREATE record. Therefore, we need + * this even when wal_level=minimal. */ PageSetChecksumInplace(metapage, BLOOM_METAPAGE_BLKNO); smgrwrite(index->rd_smgr, INIT_FORKNUM, BLOOM_METAPAGE_BLKNO, diff --git a/contrib/bloom/blutils.c b/contrib/bloom/blutils.c index f2eda67e0ae..00a65875b03 100644 --- a/contrib/bloom/blutils.c +++ b/contrib/bloom/blutils.c @@ -75,7 +75,7 @@ _PG_init(void) bl_relopt_tab[i + 1].optname = MemoryContextStrdup(TopMemoryContext, buf); bl_relopt_tab[i + 1].opttype = RELOPT_TYPE_INT; - bl_relopt_tab[i + 1].offset = offsetof(BloomOptions, bitSize[0]) + sizeof(int) * i; + bl_relopt_tab[i + 1].offset = offsetof(BloomOptions, bitSize[0]) +sizeof(int) * i; } } |