]> granicus.if.org Git - postgresql/commit
Rearrange storage of data in xl_running_xacts.
authorSimon Riggs <simon@2ndQuadrant.com>
Sun, 2 Dec 2012 19:39:37 +0000 (19:39 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Sun, 2 Dec 2012 19:39:37 +0000 (19:39 +0000)
commit5c11725867ac3cb06db065f7940143114280649c
tree0c7ab755446364e267930446dc17b2e63739631f
parentc11130690d6dca64267201a169cfb38c1adec5ef
Rearrange storage of data in xl_running_xacts.
Previously we stored all xids mixed together.
Now we store top-level xids first, followed
by all subxids. Also skip logging any subxids
if the snapshot is suboverflowed, since there
are potentially large numbers of them and they
are not useful in that case anyway. Has value
in the envisaged design for decoding of WAL.
No planned effect on Hot Standby.

Andres Freund, reviewed by me
src/backend/access/transam/xlog.c
src/backend/storage/ipc/procarray.c
src/backend/storage/ipc/standby.c
src/include/storage/standby.h