Re: pg_dump --with-* options

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: pg_dump --with-* options
Дата
Msg-id 56f1a5ab-4852-4bec-883f-ea6b2fc437e5@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: pg_dump --with-* options  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers

On 2025/06/17 4:35, Corey Huinker wrote:
>     I noticed that --statistics (i.e., the current --with-statistics) causes
>     statistics to be dumped even when used with --data-only or --schema-only.
>     So, as far as I understand, here are the possible combinations of dump
>     targets and options:
> 
> 
> Those should also be mutually exclusive, and I'll write up a patch to add them to the checks.

--sequence-data behaves similarly, i.e., it still dumps sequence data
even when used with --schema-only. So I've been thinking of both
--statistics and --sequence-data as options that include additional data,
regardless of whether --*-only is specified.

It seems better to keep their behavior consistent to avoid confusing users.

Regards,

-- 
Fujii Masao
NTT DATA Japan Corporation




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