Skip to content
Discussion options

You must be logged in to vote

Postgres relcache is private to backend and is filled when relation is opened. And in this case do not need to guess relation persistence - it is passed to SMGR. The only problem is when page is evicted from shared buffer but this relation wasn't yet accessed by this backend. In this case persistence is unknown and this is why we have to use our own relopersistence cache.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sujanacc
Comment options

@knizhnik
Comment options

Answer selected by sujanacc
@sujanacc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants