On Tue, Dec 26, 2017 at 07:18:48PM +0300, Teodor Sigaev wrote:
> > Initially, I have also thought of doing it in swap_relation_files, but
> > we don't have stats values there. We might be able to pass it, but
> > not sure if there is any need for same. As far as Toast table's case
> > is concerned, I don't see the problem because we are copying the data
> > row-by-row only for heap where the value of num_tuples and num_pages
> > could be different. See copy_heap_data.
>
> Ok, agree. AP (sorry, I don't see your name), could your check that patch
> fixes your issue?
I shall. I think (hope - grr) the last on-fire issue has been squished* so
things are looking good for me to poke this next week.
Andrew.