Re: Inaccurate error message when set fdw batch_size to 0

Поиск
Список
Период
Сортировка
Искать
От
Bharath Rupireddy
Тема
Re: Inaccurate error message when set fdw batch_size to 0
Дата
Msg-id
CALj2ACWD77GG3UcCT=YT0TYGwSD6kfNBmetsQqD=T0TxJdtpbg@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Inaccurate error message when set fdw batch_size to 0 "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
Re: Inaccurate error message when set fdw batch_size to 0 Dilip Kumar <dilipbalaut@gmail.com>
RE: Inaccurate error message when set fdw batch_size to 0 "tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>
Re: Inaccurate error message when set fdw batch_size to 0 Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Inaccurate error message when set fdw batch_size to 0 Tom Lane <tgl@sss.pgh.pa.us>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Tom Lane <tgl@sss.pgh.pa.us>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Amit Kapila <amit.kapila16@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Inaccurate error message when set fdw batch_size to 0 Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Inaccurate error message when set fdw batch_size to 0 Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Inaccurate error message when set fdw batch_size to 0 Michael Paquier <michael@paquier.xyz>
On Fri, Jul 9, 2021 at 6:25 AM Fujii Masao  wrote:
> The patch could not be applied cleanly because of recent commit d854720df6.
> Could you rebase the patch?

Thanks. Done.

> -                       /* 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"?

Changed.

> -                                                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"?

Changed.

> +    foo must be a numeric value greater than zero or
> +    foo must be a numeric value greater than or equal to zero
> +    if option foo expects a numeric value
>
> Maybe this description about numeric value is redundant
> because there is already the description about integer value?

Removed.

> -       /* 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?

Changed.

PSA v6 patch.

Regards,
Bharath Rupireddy.
В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
Сообщение: Re: Grammar railroad diagram
От: Michael Paquier
Дата:
FAQ