Re: [PATCH] Fix pg_dump --no-tablespaces for the custom format

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Fix pg_dump --no-tablespaces for the custom format
Дата
Msg-id 11223.1589657467@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Fix pg_dump --no-tablespaces for the custom format  (Euler Taveira <euler.taveira@2ndquadrant.com>)
Ответы Re: [PATCH] Fix pg_dump --no-tablespaces for the custom format  (Euler Taveira <euler.taveira@2ndquadrant.com>)
Список pgsql-hackers
Euler Taveira <euler.taveira@2ndquadrant.com> writes:
> I'm wondering why there is such a distinction. We have some options:

> (a) leave it as is and document that those 2 options has no effect in
> pg_dump
> and possibly add a warning to report if someone uses it with an archive
> format;
> (b) exclude owner and tablespace from archive (it breaks compatibility but
> do
> exactly what users expect).

I think throwing a warning saying "this option does nothing" might be
a reasonable change.

I think (b) would be a break in the archive format, with unclear
consequences, so I'm not in favor of that.

            regards, tom lane



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

Предыдущее
От: Euler Taveira
Дата:
Сообщение: Re: [PATCH] Fix pg_dump --no-tablespaces for the custom format
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: Multiple FPI_FOR_HINT for the same block during killing btreeindex items