Re: Confusing error message with too-large file in pg_basebackup

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Confusing error message with too-large file in pg_basebackup
Дата
Msg-id CAB7nPqQh4QZk=JHr_7xPToWeP=-dFjGyQO7bJAQ6-w6q06qcpg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Confusing error message with too-large file in pg_basebackup  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-bugs
On Fri, Nov 20, 2015 at 4:39 PM, Guillaume Lelarge wrote:
> Looking at the file's size is probably a better idea.

But isn't that already what the backend does?

> As far as I know,
> PostgreSQL doesn't create files bigger than 1GB, except for log files.

In most cases where the default is used, yes. Now this depends as well
on --with-segsize.

> I'm not sure about this but I guess pg_basebackup doesn't ship log files.  So, looking at the size would work.

It does fetch files from pg_log. We actually had on hackers not so
long ago discussions about authorizing some filtering option in
pg_basebackup for partially this purpose.
--
Michael

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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Confusing error message with too-large file in pg_basebackup
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Confusing error message with too-large file in pg_basebackup