pgsql: Fix past pd_upper write in ginRedoRecompress()

2018-09-09 Thread Alexander Korotkov
Fix past pd_upper write in ginRedoRecompress() ginRedoRecompress() replays actions over compressed segments of posting list in-place. However, it might lead to write past pg_upper, because intermediate state during playing the changes can take more space than both original state and final state.

pgsql: Fix past pd_upper write in ginRedoRecompress()

2018-09-09 Thread Alexander Korotkov
Fix past pd_upper write in ginRedoRecompress() ginRedoRecompress() replays actions over compressed segments of posting list in-place. However, it might lead to write past pg_upper, because intermediate state during playing the changes can take more space than both original state and final state.

pgsql: Fix past pd_upper write in ginRedoRecompress()

2018-09-09 Thread Alexander Korotkov
Fix past pd_upper write in ginRedoRecompress() ginRedoRecompress() replays actions over compressed segments of posting list in-place. However, it might lead to write past pg_upper, because intermediate state during playing the changes can take more space than both original state and final state.

pgsql: Fix past pd_upper write in ginRedoRecompress()

2018-09-09 Thread Alexander Korotkov
Fix past pd_upper write in ginRedoRecompress() ginRedoRecompress() replays actions over compressed segments of posting list in-place. However, it might lead to write past pg_upper, because intermediate state during playing the changes can take more space than both original state and final state.

pgsql: Fix past pd_upper write in ginRedoRecompress()

2018-09-09 Thread Alexander Korotkov
Fix past pd_upper write in ginRedoRecompress() ginRedoRecompress() replays actions over compressed segments of posting list in-place. However, it might lead to write past pg_upper, because intermediate state during playing the changes can take more space than both original state and final state.

pgsql: Fix past pd_upper write in ginRedoRecompress()

2018-09-09 Thread Alexander Korotkov
Fix past pd_upper write in ginRedoRecompress() ginRedoRecompress() replays actions over compressed segments of posting list in-place. However, it might lead to write past pg_upper, because intermediate state during playing the changes can take more space than both original state and final state.