On Tue, Dec 1, 2020 at 5:34 PM Bharath Rupireddy <bharath.rupireddyforpostg...@gmail.com> wrote: > > Hi, > > I think we can pass CURSOR_OPT_PARALLEL_OK to pg_plan_query() for > refresh mat view so that parallelism can be considered for the SELECT > part of the previously created mat view. The refresh mat view queries > can be faster in cases where SELECT is parallelized. > > Attaching a small patch. Thoughts? >
Added this to commitfest, in case it is useful - https://commitfest.postgresql.org/31/2856/ With Regards, Bharath Rupireddy. EnterpriseDB: http://www.enterprisedb.com