Received: from malur.postgresql.org ([217.196.149.56])
by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
(Exim 4.96)
(envelope-from Hello, I created a table called One_Page_Wonder and i=
nserted 3 rows in it. I updated row 2 and row 3 . I looked at the t=
uples.
Row 1 is pristine, Row 2 and 3 have t_xmin and=
t_xmax values to show the updates and older version of the tuples. So fa=
r no confusion. Then I truncated the table and inserted 1st ro=
w and comitted it and inserted 4th row and rolled it back.
The tuple for 4th row that I rolled back looks=
identical to the 1st row that I commited !!!! If I did not do a SELECT on One_Page_Wonder an=
d just looked at the raw page, I would have concluded that both the tuple=
s are valid and active and comitted. How does postgres know that this 4th tuple has=
been rolled back =3F Please help me learn that.
Regards Ram SELECT * FROM heap_page_items(get_raw_page(=
=27One_Page_Wonder=27,0)); lp | lp_off | lp_flags | lp_len | t_xmin | t_x=
max | t_field3 | t_ctid | t_infomask2 | t_infomask | t_hoff | t_bits | t_=
oid | &n=
bsp; &nb=
sp; t_data ----+--------+----------+--------&=
#43;--------+--------+----------+--------+-------------=
43;------------+--------+--------+-------+---------------=
----------------------------------------------------- 1 | 8136 |  =
; 1 | 56 | 35=
61 | 0 |  =
; 0 | (0,1) | =
3 | 2050 | &n=
bsp; 24 | | &n=
bsp; | =5Cx0100000027466972737420726f7720496e7365727465=
64008abd6087eef30200 2 | 8080 |  =
; 1 | 56 | 35=
62 | 3565 | 0 | (0,=
5) | 16387 | &=
nbsp; 258 | 24 | &nb=
sp; | | =5Cx0=
2000000275365636f6e6420726f77496e736572746564000fc66087eef30200 3 | 8024 |  =
; 1 | 56 | 35=
63 | 3564 | 0 | (0,=
4) | 16387 | &=
nbsp; 258 | 24 | &nb=
sp; | | =5Cx0=
30000002754686972642020726f77496e73657274656400cecb6087eef30200 4 | 7968 |  =
; 1 | 56 | 35=
64 | 0 |  =
; 0 | (0,4) | 32771 |&nbs=
p; 10242 | 24 | &nbs=
p; | | =
=5Cx0300000021557064617465645f3372645f726f7700000000cecb6087eef30200 5 | 7912 |  =
; 1 | 56 | 35=
65 | 0 |  =
; 0 | (0,5) | 32771 |&nbs=
p; 10242 | 24 | &nbs=
p; | | =
=5Cx0200000021557064617465645f3272645f726f77000000000fc66087eef30200 (5 rows) SELECT * FROM One_Page_Wonder ; id | =
text | =
time_stamp ----+--------------------+------------=
---------------- 1 | First row Inserted | 2026-05-03 20:=
35:52.451466 3 | Updated_3rd_row |=
2026-05-03 20:35:52.455118 2 | Updated_2rd_row |=
2026-05-03 20:35:52.453647 (3 rows) TRUNCATE TABLE One_Page_Wonder; TRUNCATE TABLE INSERT INTO One_Page_Wonder (Id,Text) VALUES (1, =27First row Inserted=27); INSERT 0 1 BEGIN; BEGIN SELECT pg_current_xact_id(); pg_current_xact_id -------------------- &nbs=
p; 3568 (1 row) INSERT INTO One_Page_Wonder (Id,Text) VALUES (4, =27Fourth rowInserted=27); INSERT 0 1 ROLLBACK; ROLLBACK SELECT * FROM heap_page_items(get_raw_page(=
=27One_Page_Wonder=27,0)); lp | lp_off | lp_flags | lp_len | t_xmin | t_x=
max | t_field3 | t_ctid | t_infomask2 | t_infomask | t_hoff | t_bits | t_=
oid | &n=
bsp; &nb=
sp; t_data ----+--------+----------+--------&=
#43;--------+--------+----------+--------+-------------=
43;------------+--------+--------+-------+---------------=
----------------------------------------------------- 1 | 8136 |  =
; 1 | 56 | 35=
67 | 0 |  =
; 0 | (0,1) | =
3 | 2050 | &n=
bsp; 24 | | &n=
bsp; | =5Cx0100000027466972737420726f7720496e7365727465=
640091026187eef30200 2 | 8080 |  =
; 1 | 56 | 35=
68 | 0 |  =
; 0 | (0,2) | =
3 | 2050 | &n=
bsp; 24 | | &n=
bsp; | =5Cx0400000029466f757274682020726f77496e73657274=
6564f4076187eef30200 (2 rows) SELECT * FROM One_Page_Wonder ; id | =
text | =
time_stamp ----+--------------------+------------=
---------------- 1 | First row Inserted | 2026-05-03 20:=
35:52.469137 (1 row) DROP TABLE One_Page_Wonder; DROP TABLE DROP EXTENSION pageinspect; DROP EXTENSION Zentralbereich Informationst=
echnologie Alte Leipziger Lebensversicherung a. G.<=
/SPAN>
Hallesche Krankenversicherung a. G.
______________________
ALH Gruppe
Alte Leipziger-Platz 1, 614=
40 Oberursel
Tel: +49 (6171) 66-4882
Fax: +49 (6171) 66-800-4882
E-Mail: ramachandran.subramanian@alte-leipziger.de
www.alte-leipziger.de
www.hallesche.de
Alte Leipziger Lebensversich= erung a. G., Alte Leipziger-Platz 1, 61440 Oberursel
Vors. des Aufsichtsra= ts: Dr. Walter Botermann =B7 Vorstand: Christoph Bohn (Vors.), Dr. J=FCrg= en Bierbaum (stv. Vors.), Frank Kettnaker, Dr. Jochen Kriegmeier, Alexand= er Mayer, Christian Pape, Wiltrud Pekarek, Udo WilcsekSitz Oberursel (Taunus) =B7 = Rechtsform VVaG =B7 Amtsgericht Bad Homburg v. d. H. HRB 1583 =B7 USt.-Id= Nr. DE 114106814
Hallesche Krankenversicherun= g a. G., L=F6ffelstra=DFe 34-38, 70597 Stuttgart
Vors. des Aufsichtsrats: Dr.= Walter Botermann =B7 Vorstand: Christoph Bohn (Vors.), Dr. J=FCrgen Bier= baum (stv. Vors.), Frank Kettnaker, Dr. Jochen Kriegmeier, Alexander Maye= r, Christian Pape, Wiltrud Pekarek, Udo Wilcsek
Sitz Stuttgart =B7 Rechtsfor= m VVaG =B7 Amtsgericht Stuttgart HRB 2686 =B7 USt.-IdNr. DE 147802285
Beitr=E4ge zu privaten Krank= en- und Pflegekrankenversicherungen unterliegen nicht der Versicherungste= uer (=A7 4 (1) Nr. 5 b VersStG) =B7 Versicherungsleistungen sowie Ums=E4t= ze aus Versicherungsvertreter-/Maklert=E4tigkeiten sind umsatzsteuerfrei<= /SPAN>
= Pflichtangaben der A= LH Gruppe gem=E4=DF =A7 35a GmbHG bzw. =A7 80 AktG= P> --_000_0f8e5544ae8a412bb637fcc3d15f8aaaalteleipzigerde_--