Re: CLUSTER patch
От | Tom Lane |
---|---|
Тема | Re: CLUSTER patch |
Дата | |
Msg-id | 19971.1026671152@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: CLUSTER patch (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: CLUSTER patch
|
Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> writes: > Yep, I think everything now points to changes needed in relcache.c to > handle the new condition of a relation swapping its relnode. I still don't believe that any changes are needed in relcache.c. In particular, after thinking more I see that we do not need to change the myxactonly status of either relation: the temp one is still temp, the original one is still not. What we do need to do is to flush all buffers for the two rels from the local and global buffer caches respectively, since after the swap they should get buffered in different places. FlushRelationBuffers looks like it will work for that. regards, tom lane
В списке pgsql-patches по дате отправления: