mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Remove extraneous blank lines before block-closing braces
These are useless and distracting. We wouldn't have written the code with them to begin with, so there's no reason to keep them. Author: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com Discussion: https://postgr.es/m/attachment/133167/0016-Extraneous-blank-lines.patch
This commit is contained in:
@@ -257,7 +257,6 @@ typedef struct BloomFilter
|
||||
|
||||
/* data of the bloom filter */
|
||||
char data[FLEXIBLE_ARRAY_MEMBER];
|
||||
|
||||
} BloomFilter;
|
||||
|
||||
|
||||
|
||||
@@ -527,7 +527,6 @@ ginPlaceToPage(GinBtree btree, GinBtreeStack *stack,
|
||||
BufferGetBlockNumber(stack->buffer),
|
||||
BufferGetBlockNumber(rbuffer));
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -8481,7 +8481,6 @@ log_heap_new_cid(Relation relation, HeapTuple tup)
|
||||
{
|
||||
xlrec.cmin = InvalidCommandId;
|
||||
xlrec.cmax = HeapTupleHeaderGetRawCommandId(hdr);
|
||||
|
||||
}
|
||||
xlrec.combocid = InvalidCommandId;
|
||||
}
|
||||
|
||||
@@ -2073,7 +2073,6 @@ lazy_scan_noprune(LVRelState *vacrel,
|
||||
elog(ERROR, "unexpected HeapTupleSatisfiesVacuum result");
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
vacrel->offnum = InvalidOffsetNumber;
|
||||
|
||||
@@ -35,7 +35,6 @@ typedef struct
|
||||
/* split point identifying fields (returned by _bt_findsplitloc) */
|
||||
OffsetNumber firstrightoff; /* first origpage item on rightpage */
|
||||
bool newitemonleft; /* new item goes on left, or right? */
|
||||
|
||||
} SplitPoint;
|
||||
|
||||
typedef struct
|
||||
|
||||
@@ -2116,14 +2116,12 @@ btoptions(Datum reloptions, bool validate)
|
||||
offsetof(BTOptions, vacuum_cleanup_index_scale_factor)},
|
||||
{"deduplicate_items", RELOPT_TYPE_BOOL,
|
||||
offsetof(BTOptions, deduplicate_items)}
|
||||
|
||||
};
|
||||
|
||||
return (bytea *) build_reloptions(reloptions, validate,
|
||||
RELOPT_KIND_BTREE,
|
||||
sizeof(BTOptions),
|
||||
tab, lengthof(tab));
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -2591,7 +2589,6 @@ _bt_check_natts(Relation rel, bool heapkeyspace, Page page, OffsetNumber offnum)
|
||||
|
||||
/* Use generic heapkeyspace pivot tuple handling */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Handle heapkeyspace pivot tuples (excluding minus infinity items) */
|
||||
|
||||
@@ -38,7 +38,6 @@ out_gistxlogDelete(StringInfo buf, gistxlogDelete *xlrec)
|
||||
{
|
||||
appendStringInfo(buf, "delete: latestRemovedXid %u, nitems: %u",
|
||||
xlrec->latestRemovedXid, xlrec->ntodelete);
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -747,7 +747,6 @@ spgoptions(Datum reloptions, bool validate)
|
||||
RELOPT_KIND_SPGIST,
|
||||
sizeof(SpGistOptions),
|
||||
tab, lengthof(tab));
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -381,7 +381,6 @@ simple_table_tuple_update(Relation rel, ItemPointer otid,
|
||||
elog(ERROR, "unrecognized table_tuple_update status: %u", result);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1790,7 +1790,6 @@ PerformWalRecovery(void)
|
||||
/* there are no WAL records following the checkpoint */
|
||||
ereport(LOG,
|
||||
(errmsg("redo is not required")));
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user