Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey All,
Sorry for delay. there is a problem with my email.
As mentioned I have reviewed the code and did some cleanup , added comments also.
As per suggestions on PR reorg#327 I have looked in both
repack_one_table()
andrepack_table_indexes()
but theERROR: relation pg_class does not exist
is coming fromis_requested_relation_exists()
before checking the functioncheck_systemtables()
.So I have added
check_systemtables()
inis_requested_relation_exists()
so that it will be clear for understanding and enhance in future.Please let me know your thoughts. once this branch is merged I will create pull request to reorg/pg_repack.
Thanks.