You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is follow up ticket. See the another ticket #152 and pull requests #157, #377.
It seems to me that besides swapping relfrozenxid, relfrozenxid and relallvisible there are other changes which are missing in swap_head_or_index_files() comparing to Postgres swap_relation_files().
At this point I'm not sure if we need to migrate the following changes:
Call RelationClearMissing(). It seems it isn't harm to not call it. What it does is that it sets atthasmissing to false, which means that there are no values in a tables which miss default value of an attribute.
Support swap_toast_by_content. I'm not sure if it is necessary to support swapping toast tables by content. See the code where Postgres decides when to swap toast tables by content.
And it might be good to do the following changes:
Swap relam. pg_repack currently might not support changes access methods, but it might be better to sync this change. In that case it might be necessary to update AM dependencies.
This is follow up ticket. See the another ticket #152 and pull requests #157, #377.
It seems to me that besides swapping relfrozenxid, relfrozenxid and relallvisible there are other changes which are missing in swap_head_or_index_files() comparing to Postgres swap_relation_files().
We don't need to migrate some code:
At this point I'm not sure if we need to migrate the following changes:
atthasmissing
to false, which means that there are no values in a tables which miss default value of an attribute.And it might be good to do the following changes:
I think that the following changes are important and needs to be migrated:
RelationAssumeNewRelfilenode()
on older versions). According to the comment of the function it is necessary to call it ifrelfilenode
is changed.The text was updated successfully, but these errors were encountered: