[question] difference between vm_extend and fsm_extend - Mailing list pgsql-hackers

From Junwang Zhao
Subject [question] difference between vm_extend and fsm_extend
Date
Msg-id CAEG8a3K_zajxhWMpJO=f1Z70kBjwe3RiMb9_Jyv4=8M9sSJEow@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hey hacks,

I'm looking the code of free space map and visibility map, both the module
call  `ExtendBufferedRelTo` to extend its file when necessary, what confused
me is that `vm_extend` has an extra step that send a shared message to force
other backends to close other smgr references.

My question is why does `fsm_extend` not need the invalidation step?

-- 
Regards
Junwang Zhao



pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: Report planning memory in EXPLAIN ANALYZE
Next
From: Michael Paquier
Date:
Subject: Re: Support to define custom wait events for extensions