1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-29 13:56:47 +03:00

Run pgindent on heapam.c

An upcoming patch by Melanie Plageman does some refactoring work in this
area.  Run pgindent on that file now before making any changes so that
it's easier to maintain/evolve each of the individual patches doing the
refactor work.  Additionally, add a few new required typedefs to the list
to make it easier to do future pgindent runs on this file during the
refactor work.

Discussion: https://postgr.es/m/CAAKRu_YSOnhKsDyFcqJsKtBSrd32DP-jjXmv7hL0BPD-z0TGXQ@mail.gmail.com
This commit is contained in:
David Rowley 2023-01-23 23:08:38 +13:00
parent 236f1ea84c
commit 009dbdea02
2 changed files with 12 additions and 8 deletions

View File

@ -2722,6 +2722,7 @@ heap_delete(Relation relation, ItemPointer tid,
tp.t_self = *tid; tp.t_self = *tid;
l1: l1:
/* /*
* If we didn't pin the visibility map page and the page has become all * If we didn't pin the visibility map page and the page has become all
* visible while we were busy locking the buffer, we'll have to unlock and * visible while we were busy locking the buffer, we'll have to unlock and

View File

@ -1090,11 +1090,13 @@ HeadlineJsonState
HeadlineParsedText HeadlineParsedText
HeadlineWordEntry HeadlineWordEntry
HeapCheckContext HeapCheckContext
HeapPageFreeze
HeapScanDesc HeapScanDesc
HeapTuple HeapTuple
HeapTupleData HeapTupleData
HeapTupleFields HeapTupleFields
HeapTupleForceOption HeapTupleForceOption
HeapTupleFreeze
HeapTupleHeader HeapTupleHeader
HeapTupleHeaderData HeapTupleHeaderData
HeapTupleTableSlot HeapTupleTableSlot
@ -3838,6 +3840,7 @@ xl_hash_vacuum_one_page
xl_heap_confirm xl_heap_confirm
xl_heap_delete xl_heap_delete
xl_heap_freeze_page xl_heap_freeze_page
xl_heap_freeze_plan
xl_heap_freeze_tuple xl_heap_freeze_tuple
xl_heap_header xl_heap_header
xl_heap_inplace xl_heap_inplace