New option for pg_basebackup, to specify a different directory for pg_xlog

Поиск
Список
Период
Сортировка
От Haribabu kommi
Тема New option for pg_basebackup, to specify a different directory for pg_xlog
Дата
Msg-id 8977CB36860C5843884E0A18D8747B0372BDB4FD@szxeml558-mbs.china.huawei.com
обсуждение исходный текст
Ответы Re: New option for pg_basebackup, to specify a different directory for pg_xlog  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers

Please find attached the patch, for adding a new option for pg_basebackup, to specify a different directory for pg_xlog.

 

 

Design

 

A new option: "xlogdir" is added to the list of options for pg_basebackup. The new option is not having an equivalent short option letter.

This option will allow the user to specify a different directory for pg_xlog.

 

The format for specifying a different directory will be: --xlogdir=/path/to/xlog/directory

 

eg:

pg_basebackup --xlogdir=/home/pg/xlog -D ../dataBaseBackUp

 

 

When user specifies a xlog directory, it creates a symbolic link from the default directory to the user specified directory.

User can give only absolute path for the xlog directory. This option will work only if the format for the backup is 'plain'.

 

Please provide your feedback / suggestions

 

Regards,

Hari babu.

 

Вложения

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

Предыдущее
От: KONDO Mitsumasa
Дата:
Сообщение: Optimize kernel readahead using buffer access strategy
Следующее
От: KONDO Mitsumasa
Дата:
Сообщение: Re: Add min and max execute statement time in pg_stat_statement