Thread: How does pg implement the visiblity of one tuple for specified transaction?

How does pg implement the visiblity of one tuple for specified transaction?

From
"jacktby@gmail.com"
Date:

Suppose there is a transaction running, how it knows the tuples that are
visible for it?

jacktby@gmail.com

Re: How does pg implement the visiblity of one tuple for specified transaction?

From
Ankit Kumar Pandey
Date:
Hi Jacktby,

Did you try looking at HeapTupleSatisfiesVisibility function (in 
src/backend/access/heap/heapam_visibility.c) ? I think it might give you 
some idea.

Thanks,

Ankit