Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb9baef

Browse files
Update another obsolete reference in vacuumlazy.c.
Addresses an oversight in commit7ab96cf.
1 parentbeb4e9b commiteb9baef

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎src/backend/access/heap/vacuumlazy.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3610,6 +3610,11 @@ vac_cmp_itemptr(const void *left, const void *right)
36103610
* transactions. Also return the visibility_cutoff_xid which is the highest
36113611
* xmin amongst the visible tuples. Set *all_frozen to true if every tuple
36123612
* on this page is frozen.
3613+
*
3614+
* This is a stripped down version of lazy_scan_prune(). If you change
3615+
* anything here, make sure that everything stays in sync. Note that an
3616+
* assertion calls us to verify that everybody still agrees. Be sure to avoid
3617+
* introducing new side-effects here.
36133618
*/
36143619
staticbool
36153620
heap_page_is_all_visible(LVRelState*vacrel,Bufferbuf,
@@ -3625,10 +3630,6 @@ heap_page_is_all_visible(LVRelState *vacrel, Buffer buf,
36253630
*visibility_cutoff_xid=InvalidTransactionId;
36263631
*all_frozen= true;
36273632

3628-
/*
3629-
* This is a stripped down version of the line pointer scan in
3630-
* lazy_scan_heap(). So if you change anything here, also check that code.
3631-
*/
36323633
maxoff=PageGetMaxOffsetNumber(page);
36333634
for (offnum=FirstOffsetNumber;
36343635
offnum <=maxoff&&all_visible;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp