Re: ArchiveEntry optional arguments refactoring

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: ArchiveEntry optional arguments refactoring
Дата
Msg-id 20190123164734.cnt7ho34ygwsav7z@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: ArchiveEntry optional arguments refactoring  (Dmitry Dolgov <9erthalion6@gmail.com>)
Ответы Re: ArchiveEntry optional arguments refactoring  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Hi,

On 2019-01-23 16:12:15 +0100, Dmitry Dolgov wrote:
> To make this discussion a bit more specific, I've created a patch of how it can
> look like.

Thanks.

> All the arguments, except Archive, CatalogId and DumpId I've moved
> into the ArchiveOpts structure. Not all of them could be empty before, but
> anyway it seems better for consistency and readability. Some of the arguments
> had empty string as a default value, I haven't changed anything here yet
> (although this mixture of NULL and "" in ArchiveEntry looks a bit confusing).

Probably worth changing at the same time, if we decide to go for it.

To me this does look like it'd be more maintainable going forward.

Greetings,

Andres Freund


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory