Re: enable pg_stat_statements to track rows processed by REFRESH MATERIALIZED VIEW - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: enable pg_stat_statements to track rows processed by REFRESH MATERIALIZED VIEW
Date
Msg-id aab41011-887e-6cae-ba1f-d47b56412b88@oss.nttdata.com
Whole thread Raw
In response to Re: enable pg_stat_statements to track rows processed by REFRESH MATERIALIZED VIEW  (Yuki Seino <seinoyu@oss.nttdata.com>)
Responses Re: enable pg_stat_statements to track rows processed by REFRESH MATERIALIZED VIEW
List pgsql-hackers

On 2020/11/02 14:02, Yuki Seino wrote:
> The following review has been posted through the commitfest application:
> make installcheck-world:  tested, passed
> Implements feature:       tested, passed
> Spec compliant:           tested, passed
> Documentation:            tested, passed
> 
> +1.
> I checked the patch and there were no problems.

+        PG_END_TRY();
+        SetQueryCompletion(qc, CMDTAG_REFRESH_MATERIALIZED_VIEW, processed);

Isn't it better to call SetQueryCompletion() in ExecRefreshMatView()
instead of ProcessUtilitySlow() (e.g., ExecCreateTableAs() does)?

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [patch] [doc] Add SELECT clause literals to queries section headers
Next
From: Heikki Linnakangas
Date:
Subject: Re: Split copy.c