-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in partition_gap_fill() in 4.7.4 #606
Comments
If you're able to do a PR against the current 5.x main branch I can take a look at it to see about backpatching it to 4.x |
I haven't found the code in 5.x, what about creating a branch in my fork and let you review whether it is somewhere else applicable to 5.x ? |
I don't believe the code for that particular function has changed in 5.0 compared to 4.7.4, so if you did the PR against this file it should be the same? https://github.com/pgpartman/pg_partman/blob/master/sql/functions/partition_gap_fill.sql |
If it's easier to do against your own fork and just point me to it, that works too. |
The proposed change to 4.7 is in the pull request. The conflict on the control file is just a result as I've modified it for running tests (in case there will be a 4.x maintenance branch, it'll be hopefully OK) Changes I've made are here in the diff Thanks, Ales Zeleny |
Ahh ok. Thank you! |
So for version 5.x, the analyze step was removed from the individual I'll see what I can do for 4.x |
If you're able to test, I do have a PR up with the 4.8.0 update to add this parameter to the gap fill function Again, this won't be an issue in 5.0 since the analyze step has been refactored and shouldn't run during gap fill calls anymore. |
Thanks a lot! I've looked at the patch and it seems to me one missing point, see #616 . |
Version 5.1 and 4.8.0 have been released. Note that you can only install version 4.8.0 as an update from a previous version. Highly recommend looking into migrating to 5.1 as soon as possible. |
Hello, just a question, are you interested in fixes to 4.x (i.e. 4.7.4) version?
If yes, shall I base a patch proposal on the commit
50ab3a0
?The bug was detected in our environment with logical replication (lock issue dute forced analyze) and the fix is quite simple, but since there is version 5 I don't know, whether, if yes how to properly propose a patch (for example, our next scheduled outage for upgrades after several months, so for me simply update to 4.7.5 would be good as it might be done online).
Thanks Ales Zeleny
The text was updated successfully, but these errors were encountered: