Re: pg_restore --format= option(without any value) should report an error as pg_dump is reporting an error

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: pg_restore --format= option(without any value) should report an error as pg_dump is reporting an error
Дата
Msg-id abmFNYjgs1oa3asB@nathan
обсуждение исходный текст
Ответ на Re: pg_restore --format= option(without any value) should report an error as pg_dump is reporting an error  (Mahendra Singh Thalor <mahi6run@gmail.com>)
Ответы Re: pg_restore --format= option(without any value) should report an error as pg_dump is reporting an error
Список pgsql-hackers
On Tue, Mar 17, 2026 at 02:51:56PM +0530, Mahendra Singh Thalor wrote:
> I did some more testing and found that if there is an empty string with
> --port/--host, then we don't report any error because we don't validate
> empty strings. This looks weird to me but this is happening with all tools
> so I was not adding any test case for --host and --port.

Oh, weird.

Unless new feedback materializes, I'll proceed with committing your patch
within the next day or so.

-- 
nathan



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