> The CFBOT had no issues with the patches, so I suspect an issue on your side. > http://cfbot.cputube.org/nitin-jadhav.html
I am getting the following error when I try to apply in my machine. $ git apply ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:18: trailing whitespace. /* ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:19: trailing whitespace. * get_non_null_count_list_bounds ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:20: trailing whitespace. * Calculates the total number of non null bound values of ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:21: trailing whitespace. * all the partitions. ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:22: trailing whitespace. */ error: patch failed: src/backend/partitioning/partbounds.c:432 error: src/backend/partitioning/partbounds.c: patch does not apply However I was able to apply it by adding '--reject --whitespace=fix'. $ git apply --reject --whitespace=fix ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:18: trailing whitespace. /* ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:19: trailing whitespace. * get_non_null_count_list_bounds ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:20: trailing whitespace. * Calculates the total number of non null bound values of ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:21: trailing whitespace. * all the partitions. ../patches/0001-Removed-extra-memory-allocations-from-create_list_bo.patch:22: trailing whitespace. */ Checking patch src/backend/partitioning/partbounds.c... Applied patch src/backend/partitioning/partbounds.c cleanly. warning: squelched 30 whitespace errors warning: 35 lines add whitespace errors. I have rebased all the patches on top of 'v2_0001-removed_extra_mem_alloc_from_create_list_bounds.patch'. Attaching all the patches here. -- Thanks & Regards, Nitin Jadhav On Mon, May 17, 2021 at 8:33 PM Justin Pryzby <pry...@telsasoft.com> wrote: > > On Mon, May 17, 2021 at 08:22:25PM +0530, Nitin Jadhav wrote: > > I agree and thanks for creating those patches. I am not able to apply > > the patch on the latest HEAD. Kindly check and upload the modified > > patches. > > The CFBOT had no issues with the patches, so I suspect an issue on your side. > http://cfbot.cputube.org/nitin-jadhav.html > > -- > Justin
v2_0001-removed_extra_mem_alloc_from_create_list_bounds.patch
Description: Binary data
v2_0003-Same-for-create_hash_bounds-PartitionHashBound.patch
Description: Binary data
v2_0004-Allocate-datum-arrays-in-bulk-to-avoid-palloc-overhead.patch
Description: Binary data
v2_0005-create_range_bounds-pfree-intermediate-results.patch
Description: Binary data
v2_0002-allocate-the-PartitionListValue-as-a-single-chunk.patch
Description: Binary data