]> granicus.if.org Git - postgresql/commit
Remove incorrect assertion in clog.c
authorRobert Haas <rhaas@postgresql.org>
Thu, 10 Aug 2017 15:20:57 +0000 (11:20 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 10 Aug 2017 15:20:57 +0000 (11:20 -0400)
commitec99dd5aee8b831760046d43098c2d1cf23157ed
tree452f240c26b24f021c2ecb73ad50ecf086c8d614
parent749c7c41701c62d96a56af1531e4f51e39173be3
Remove incorrect assertion in clog.c

We must advance the oldest XID that can be safely looked up in clog
*before* truncating CLOG, and the oldest XID that can't be reused
*after* truncating CLOG.  This assertion, and the accompanying
comment, are confused; remove them.

Reported by Neha Sharma.

Discussion: http://postgr.es/m/CANiYTQumC3T=UMBMd1Hor=5XWZYuCEQBioL3ug0YtNQCMMT5wQ@mail.gmail.com
src/backend/access/transam/clog.c