Re: Inaccurate error message when set fdw batch_size to 0

Поиск
Список
Период
Сортировка
От Dilip Kumar
Тема Re: Inaccurate error message when set fdw batch_size to 0
Дата
Msg-id CAFiTN-vNAVhsNH52XXMM9Dhs+WQHZ+KAHXVghsp-9QFapg37qg@mail.gmail.com
обсуждение исходный текст
Ответ на Inaccurate error message when set fdw batch_size to 0  ("houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>)
Список pgsql-hackers
On Sat, May 8, 2021 at 9:09 AM houzj.fnst@fujitsu.com
<houzj.fnst@fujitsu.com> wrote:
>
> The error message here seems not accurate, because
>
> I can see from the code batch_size should be positive ( > 0).
>

> So, is it better to change the error message to “fetch_size requires a positive integer value” ?
>
> I also found fetch_size has the similar issue, attaching a patch to fix this.

Yes, it should be a positive integer, so your change makes sense.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: Small issues with CREATE TABLE COMPRESSION
Следующее
От: "houzj.fnst@fujitsu.com"
Дата:
Сообщение: RE: Enhanced error message to include hint messages for redundant options error