Re: PATCH: Exclude additional directories in pg_basebackup

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: PATCH: Exclude additional directories in pg_basebackup
Дата
Msg-id 9f249d91-08cb-00eb-f394-221b19e9a0f6@pgmasters.net
обсуждение исходный текст
Ответ на Re: PATCH: Exclude additional directories in pg_basebackup  (David Steele <david@pgmasters.net>)
Список pgsql-hackers
On 9/7/16 8:21 AM, David Steele wrote:
> On 9/6/16 10:25 PM, Michael Paquier wrote:
>> I find that ugly. I'd rather use an array with undefined size for the
>> fixed elements finishing by NULL, remove EXCLUDE_DIR_MAX and
>> EXCLUDE_DIR_STAT_TMP and use a small routine to do the work done on
>> _tarWriteHeader...
> 
> My goal was to be able to fully reuse the code that creates the paths,
> but this could also be done by following your suggestion and also moving
> the path code into a function.

I just realized all I did was repeat what you said...

-- 
-David
david@pgmasters.net



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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: PATCH: Exclude additional directories in pg_basebackup
Следующее
От: Kuntal Ghosh
Дата:
Сообщение: Re: WAL consistency check facility