Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rossmohax
· 6y ago · 0 comments
> There seems to be no way to instruct postgres to "clean" those XIDs in any way
There is, VACUUM FREEZE
Comments
[–]
karyon
6y ago
Sadly, since 9.4, that does not clear the XID anymore, see that blue box here:
https://www.postgresql.org/docs/9.4/routine-vacuuming.html#V...
[–]
rossmohax
OP
6y ago
Thanks, that was news to me. Interestingly replacing XID with frozen one still makes a valid tuple, so it might be just a few lines patch for you to get what you want.