mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Initial pgindent and pgperltidy run for v14.
Also "make reformat-dat-files". The only change worthy of note is that pgindent messed up the formatting of launcher.c's struct LogicalRepWorkerId, which led me to notice that that struct wasn't used at all anymore, so I just took it out.
This commit is contained in:
@@ -1659,13 +1659,13 @@ heapam_index_build_range_scan(Relation heapRelation,
|
||||
offnum = ItemPointerGetOffsetNumber(&heapTuple->t_self);
|
||||
|
||||
/*
|
||||
* If a HOT tuple points to a root that we don't know
|
||||
* about, obtain root items afresh. If that still fails,
|
||||
* report it as corruption.
|
||||
* If a HOT tuple points to a root that we don't know about,
|
||||
* obtain root items afresh. If that still fails, report it as
|
||||
* corruption.
|
||||
*/
|
||||
if (root_offsets[offnum - 1] == InvalidOffsetNumber)
|
||||
{
|
||||
Page page = BufferGetPage(hscan->rs_cbuf);
|
||||
Page page = BufferGetPage(hscan->rs_cbuf);
|
||||
|
||||
LockBuffer(hscan->rs_cbuf, BUFFER_LOCK_SHARE);
|
||||
heap_get_root_tuples(page, root_offsets);
|
||||
@@ -2482,8 +2482,8 @@ reform_and_rewrite_tuple(HeapTuple tuple,
|
||||
else if (!isnull[i] && TupleDescAttr(newTupDesc, i)->attlen == -1)
|
||||
{
|
||||
struct varlena *new_value;
|
||||
ToastCompressionId cmid;
|
||||
char cmethod;
|
||||
ToastCompressionId cmid;
|
||||
char cmethod;
|
||||
|
||||
new_value = (struct varlena *) DatumGetPointer(values[i]);
|
||||
cmid = toast_get_compression_id(new_value);
|
||||
|
Reference in New Issue
Block a user