> Attached is the patch I am finishing with, with some new tests for > BRIN and btree to force parallel builds with immutable expressions > through functions.
Sorry about my last reply. Not sure what happened with my email client. Here it is again. glad to see the asserts are working as expected ad finding these issues. I took a look at the patch and tested it. It looks good. My only concern is the stability of using min_parallel_table_scan_size = 0. Will it always guarantee parallel workers? Can we print some debugging that proves a parallel worker was spun up? Something like this I get with DEBUG1 DEBUG: building index "btree_test_expr_idx" on table "btree_test_expr" with request for 1 parallel workers What do you think? Regards, Sami