From: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
---|---|
To: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> |
Cc: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)fujitsu(dot)com>, houzj(dot)fnst(at)fujitsu(dot)com, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Inaccurate error message when set fdw batch_size to 0 |
Date: | 2021-07-09 00:55:17 |
Message-ID: | 9d067c33-248d-ae92-b64b-396de500c43e@oss.nttdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2021/05/26 15:22, Bharath Rupireddy wrote:
> On Thu, May 20, 2021 at 2:43 PM Bharath Rupireddy
> <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> wrote:
>>
>> Thanks. That looks better. PSA v4 patch.
>
> Attaching v5 patch rebased on latest master.
The patch could not be applied cleanly because of recent commit d854720df6.
Could you rebase the patch?
- /* these must have a non-negative numeric value */
+ /* these must have a positive numeric value */
Isn't it better to replace this with "these must have a floating point value
greater than or equal to zero"?
- errmsg("%s requires a non-negative numeric value",
+ errmsg("\"%s\" must be a numeric value greater than or equal to zero",
"numeric" should be "floating point"?
+ <quote>foo must be a numeric value greater than zero</quote> or
+ <quote>foo must be a numeric value greater than or equal to zero</quote>
+ if option <quote>foo</quote> expects a numeric value
Maybe this description about numeric value is redundant
because there is already the description about integer value?
- /* Number of workers should be non-negative. */
Isn't it better to replace this with "Number of workers should be greater than zero"
rather than removing the comment?
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2021-07-09 01:12:52 | Re: Outdated replication protocol error? |
Previous Message | Masahiko Sawada | 2021-07-09 00:42:59 | Re: Skipping logical replication transactions on subscriber side |