On Fri, Jan 19, 2018 at 8:44 PM, Amit Kapila <amit.kapil...@gmail.com> wrote: > Right, but I think using parallel_leader_participation, you can do it > reliably and probably write some regression tests which can complete > in a predictable time.
Do what reliably? Guarantee that the leader will not participate as a worker, but that workers will be used? If so, yes, you can get that. The only issue is that you may not be able to launch parallel workers due to hitting a limit like max_parallel_workers, in which case you'll get a serial index build despite everything. Nothing we can do about that, though. -- Peter Geoghegan