Re: PATCH: Configurable file mode mask

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: PATCH: Configurable file mode mask
Дата
Msg-id 461b0b2d-1927-08a5-89ba-c3f4bb222b5b@pgmasters.net
обсуждение исходный текст
Ответ на Re: PATCH: Configurable file mode mask  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: PATCH: Configurable file mode mask  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi Peter,

On 3/23/18 10:36 AM, Peter Eisentraut wrote:
> I have committed a basic pg_resetwal test suite as part of another
> patch, so please adjust accordingly.
> 
> It looks to me like your pg_resetwal tests contain a bit of useless
> copy-and-paste.  For example, you are not using use Config, nor
> $tempdir, and you run $node->stop right after $node->start.  Please
> clean that up a bit, or comment, if appropriate.

Yeah, definitely too much copy-paste going on.

The various start/stops were intended the ensure that PG actually starts
with the reset WAL.  I see that these tests don't do them, though, so
perhaps that's not a good use of test time.

The pg_rewind tests work for my purposes but it seems worth preserving
the ones I wrote since there is no overlap.

I've attached a patch that integrates my tests with the current tests.
If you don't think they are worth adding then I'll just drop them from
my patchset.

Thanks,
-- 
-David
david@pgmasters.net

Вложения

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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: PATCH: Exclude unlogged tables from base backups
Следующее
От: Michael Banck
Дата:
Сообщение: Re: [PATCH] Verify Checksums during Basebackups