From: | Seino Yuki <seinoyu(at)oss(dot)nttdata(dot)com> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: enable pg_stat_statements to track rows processed by REFRESH MATERIALIZED VIEW |
Date: | 2020-11-05 14:54:53 |
Message-ID: | a1833f6059560bc063a11ee3d94c6a40@oss.nttdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2020-11-02 20:01 に Fujii Masao さんは書きました:
> 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,
Sorry. I missed it.
I've incorporated your point into this patch.
So the changes to "matview.h" and "utility.c" have been canceld.
We also confirmed that the new patch passed the regression test.
Regards,
Attachment | Content-Type | Size |
---|---|---|
pg_stat_statements_mt_refresh_v2.patch | text/x-diff | 4.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitry Dolgov | 2020-11-05 15:41:31 | Re: How to retain lesser paths at add_path()? |
Previous Message | Isaac Morland | 2020-11-05 14:49:32 | Re: redundant error messages |