Re: pg_basebackup and pg_stat_tmp directory

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pg_basebackup and pg_stat_tmp directory
Дата
Msg-id CA+TgmoYaVExoeV8hvHBoS_uHWCWj=NxeaQkoN92NCy=9PPpfvg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_basebackup and pg_stat_tmp directory  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: pg_basebackup and pg_stat_tmp directory  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Fri, Jan 31, 2014 at 8:40 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> Yeah, I was thinking that, too. I'm not sure whether including log files
> in backup really increases the security risk, though. There are already
> very important data, i.e., database, in backups. Anyway, since
> the amount of log files can be very large and they are not essential
> for recovery, it's worth considering whether to exclude them. OTOH,
> I'm sure that some users prefer current behavior for some reasons.
> So I think that it's better to expose the pg_basebackup option
> specifying whether log files are included in backups or not.

I don't really see how this can work reliably; pg_log isn't a
hard-coded name, but rather a GUC that users can leave set to that
value or set to any other value they choose.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [bug fix] PITR corrupts the database cluster
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Failure while inserting parent tuple to B-tree is not fun