Re: pgsql: pgstat: Bring up pgstat in BaseInit() to fix uninitialized use o

2021-08-11 Thread Amit Kapila
On Tue, Aug 10, 2021 at 4:37 PM Masahiko Sawada wrote: > > The apply worker registers SharedFileSetDeleteOnProcExit() when > creating a file set to serialize the changes. When it raises an error > due to conflict during applying the change, the callback eventually > reports the temp file statistic

Re: pgsql: pgstat: Bring up pgstat in BaseInit() to fix uninitialized use o

2021-08-11 Thread Masahiko Sawada
On Wed, Aug 11, 2021 at 10:47 PM Amit Kapila wrote: > > On Tue, Aug 10, 2021 at 4:37 PM Masahiko Sawada wrote: > > > > The apply worker registers SharedFileSetDeleteOnProcExit() when > > creating a file set to serialize the changes. When it raises an error > > due to conflict during applying the

Re: pgsql: pgstat: Bring up pgstat in BaseInit() to fix uninitialized use o

2021-08-11 Thread Dilip Kumar
On Thu, Aug 12, 2021 at 7:39 AM Masahiko Sawada wrote: > > On Wed, Aug 11, 2021 at 10:47 PM Amit Kapila wrote: > > > > On Tue, Aug 10, 2021 at 4:37 PM Masahiko Sawada > > wrote: > > > > > > The apply worker registers SharedFileSetDeleteOnProcExit() when > > > creating a file set to serialize th

Re: pgsql: pgstat: Bring up pgstat in BaseInit() to fix uninitialized use o

2021-08-11 Thread Amit Kapila
On Thu, Aug 12, 2021 at 11:38 AM Dilip Kumar wrote: > > On Thu, Aug 12, 2021 at 7:39 AM Masahiko Sawada wrote: > > > > On Wed, Aug 11, 2021 at 10:47 PM Amit Kapila > > wrote: > > > > > > On Tue, Aug 10, 2021 at 4:37 PM Masahiko Sawada > > > wrote: > > > > > > > > The apply worker registers Sh