I wrote: > And while I'm piling on, how is this bit in RelationCopyStorageUsingBuffer > not completely broken?
[pile^2] Also, what is the rationale for locking the target buffer but not the source buffer? That seems pretty hard to justify from here, even granting the assumption that we don't expect any other processes to be interested in these buffers (which I don't grant, because checkpointer). regards, tom lane