Alvaro Herrera <alvherre@commandprompt.com> writes:
> Heikki Linnakangas escribi�:
>> and the removed tuples need to be WAL-logged.
> Is this a problem for bgwriter?
bgwriter does checkpoints, which emit WAL records; and they also call
GetOldestXmin. So we know a-priori that those two things work. There
may be some other showstopper but I'm not sure what it would be.
regards, tom lane