Re: [PROPOSAL] VACUUM Progress Checker.

From: "Syed, Rahila" <Rahila(dot)Syed(at)nttdata(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Thom Brown <thom(at)linux(dot)com>, "PostgreSQL-development (pgsql-hackers(at)postgresql(dot)org)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PROPOSAL] VACUUM Progress Checker.
Date: 2015-10-06 10:47:17
Message-ID: C3C878A2070C994B9AE61077D46C38468EE5E962@MAIL703.KDS.KEANE.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

Please check the attached patch as the earlier one had typo in regression test output.

>+#define PG_STAT_GET_PROGRESS_COLS 30
>Why did you use 30?
That has come from N_PROGRESS_PARAM * 3 where N_PROGRESS_PARAM = 10 is the number of progress parameters of each type stored in shared memory.
There are three such types (int, float, string) hence total number of progress parameters can be 30.

Thank you,
Rahila Syed

______________________________________________________________________
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
or forwarding.

Attachment Content-Type Size
Vacuum_progress_checker_v4.patch application/octet-stream 17.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2015-10-06 11:29:04 Re: Multi-tenancy with RLS
Previous Message Ashutosh Bapat 2015-10-06 10:46:12 Getting sorted data from foreign server