"Olleg Samoylov" <olleg_s(at)mail(dot)ru> writes:
> Opps, template1 must not be vacuumed.
Says who?
If we didn't vacuum template1 then it would be subject to XID wraparound
problems, unless it had never been modified, which is something vacuumdb
can't count on.
regards, tom lane