Re: ArchiveEntry optional arguments refactoring

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

On 2019-01-23 13:58:07 -0300, Alvaro Herrera wrote:
> I'd use ArchiveEntryOpts as struct name; ArchiveOpts sounds wrong.

Brevity would be of some advantage IMO, because it'll probably determine
how pgindent indents the arguments, because the struct name will be in
the arguments.


> Also, the struct members could use better names -- "defn" for example
> could perhaps be "createStmt" (to match dropStmt/copyStmt), and expand
> "desc" to "description".

True.

Greetings,

Andres Freund


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ArchiveEntry optional arguments refactoring
Следующее
От: Andres Freund
Дата:
Сообщение: Re: ArchiveEntry optional arguments refactoring