Alvaro Herrera <alvherre(at)atentus(dot)com> writes:
> It does indeed work. Actually, I tried to do that before, but the fact
> that RelationFlushBuffers requires a firstDelBlock made me turn around.
firstDelBlock should be 0, not length-of-relation; as given, this code
fails to get rid of the buffer entries!
regards, tom lane