Re: ArchiveEntry optional arguments refactoring

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: ArchiveEntry optional arguments refactoring
Дата
Msg-id
20190123170701.ghp6fkg5cgdr5bpl@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
ArchiveEntry optional arguments refactoring Dmitry Dolgov <9erthalion6@gmail.com>
Re: ArchiveEntry optional arguments refactoring Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ArchiveEntry optional arguments refactoring Tom Lane <tgl@sss.pgh.pa.us>
Re: ArchiveEntry optional arguments refactoring Andres Freund <andres@anarazel.de>
Re: ArchiveEntry optional arguments refactoring Stephen Frost <sfrost@snowman.net>
Re: ArchiveEntry optional arguments refactoring Andres Freund <andres@anarazel.de>
Re: ArchiveEntry optional arguments refactoring Dmitry Dolgov <9erthalion6@gmail.com>
Re: ArchiveEntry optional arguments refactoring Andres Freund <andres@anarazel.de>
Re: ArchiveEntry optional arguments refactoring Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ArchiveEntry optional arguments refactoring Andres Freund <andres@anarazel.de>
Re: ArchiveEntry optional arguments refactoring Andres Freund <andres@anarazel.de>
Re: ArchiveEntry optional arguments refactoring Tom Lane <tgl@sss.pgh.pa.us>
Re: ArchiveEntry optional arguments refactoring Andres Freund <andres@anarazel.de>
Re: ArchiveEntry optional arguments refactoring Tom Lane <tgl@sss.pgh.pa.us>
Re: ArchiveEntry optional arguments refactoring Chapman Flack <chap@anastigmatix.net>
Re: ArchiveEntry optional arguments refactoring Andres Freund <andres@anarazel.de>
Re: ArchiveEntry optional arguments refactoring Chapman Flack <chap@anastigmatix.net>
Re: ArchiveEntry optional arguments refactoring Andres Freund <andres@anarazel.de>
Re: ArchiveEntry optional arguments refactoring Chapman Flack <chap@anastigmatix.net>
Re: ArchiveEntry optional arguments refactoring Dmitry Dolgov <9erthalion6@gmail.com>
Re: ArchiveEntry optional arguments refactoring Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ArchiveEntry optional arguments refactoring Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ArchiveEntry optional arguments refactoring Dmitry Dolgov <9erthalion6@gmail.com>
Re: ArchiveEntry optional arguments refactoring Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ArchiveEntry optional arguments refactoring Daniel Gustafsson <daniel@yesql.se>
Re: ArchiveEntry optional arguments refactoring Tom Lane <tgl@sss.pgh.pa.us>
Re: ArchiveEntry optional arguments refactoring Dmitry Dolgov <9erthalion6@gmail.com>
Re: ArchiveEntry optional arguments refactoring Amit Khandekar <amitdkhan.pg@gmail.com>
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
Дата:
От: Andres Freund
Дата:
FAQ