pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How does pg implement the visiblity of one tuple for specified transaction?
2+ messages / 2 participants
[nested] [flat]

* How does pg implement the visiblity of one tuple for specified transaction?
@ 2023-03-05 13:19  jacktby@gmail.com <jacktby@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: jacktby@gmail.com @ 2023-03-05 13:19 UTC (permalink / raw)
  To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>


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


jacktby@gmail.com


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How does pg implement the visiblity of one tuple for specified transaction?
@ 2023-03-05 15:27  Ankit Kumar Pandey <itsankitkp@gmail.com>
  parent: jacktby@gmail.com <jacktby@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Ankit Kumar Pandey @ 2023-03-05 15:27 UTC (permalink / raw)
  To: jacktby@gmail.com <jacktby@gmail.com>; pgsql-hackers <pgsql-hackers@lists.postgresql.org>

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-03-05 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-03-05 13:19 How does pg implement the visiblity of one tuple for specified transaction? jacktby@gmail.com <jacktby@gmail.com>
2023-03-05 15:27 ` Ankit Kumar Pandey <itsankitkp@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox