Kuba Ouhrabka <kuba(at)comgate(dot)cz> writes:> My suggestion is to add some more logic to vacuum to get correct oldest> xmin - local to current database.
If you read the code a little more closely, you'd see that it already does.
regards, tom lane