I am struggling to understand why the CommandId (documented here) is necessary in PostgreSQL. The CommandId is sometimes also called cmin
and cmax
.
I understand that the Transaction ID (xmin/xmax
) is necessary. However the cmin
/cmax
values are documented to only be relevant for the current transaction.
I have been looking around pretty much everywhere, but even the .c
/.h
files in the PostgreSQL code base do not talk about it a lot.