> On Fri, Mar 12, 2021 at 6:10 AM Justin Pryzby <mailto:pry...@telsasoft.com> > wrote: > > Note also this CF entry > > https://commitfest.postgresql.org/32/2987/ > > | Allow setting parallel_workers on partitioned tables > > +/* > + * PartitionedOptions > + * Contents of rd_options for partitioned tables > + */ > +typedef struct PartitionedOptions > +{ > + int32 vl_len_; /* varlena header (do not touch directly!) */ > + bool parallel_insert_enabled; /* enables planner's use > of parallel insert */ > +} PartitionedOptions; > > houzj, could you please consider naming the struct PartitionedTableRdOptions > as the patch for adding parallel_workers option to partitioned tables does?
Thanks for reminding. I agreed that " PartitionedTableRdOptions " is better. Attaching new version patch with this change. Best regards, houzj
v27-0003-Parallel-SELECT-for-INSERT-INTO-.-SELECT-advanced-tests.patch
Description: v27-0003-Parallel-SELECT-for-INSERT-INTO-.-SELECT-advanced-tests.patch
v27-0002-Add-new-GUC-option-enable_parallel_insert-boolean.patch
Description: v27-0002-Add-new-GUC-option-enable_parallel_insert-boolean.patch