Re: Acceptable/Best formatting of callbacks (for pluggable storage)
От | Tom Lane |
---|---|
Тема | Re: Acceptable/Best formatting of callbacks (for pluggable storage) |
Дата | |
Msg-id | 1092.1547217739@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Acceptable/Best formatting of callbacks (for pluggable storage) (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: Acceptable/Best formatting of callbacks (for pluggable storage)
Re: Acceptable/Best formatting of callbacks (for pluggable storage) |
Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes: > The pluggable storage patchset has a large struct full of callbacks, and > a bunch of wrapper functions for calling those callbacks. While > starting to polish the patchset, I tried to make the formatting nice. > ... > So, putting the parameter list, both in use and declaration, entirely > into a new line yields decent formatting with pgindent. But it's kinda > weird. I can't really come up with a better alternative, and after a > few minutes it looks pretty reasonable. > Comments? Better alternatives? Use shorter method names? This sounds like an ugly workaround for a carpal-tunnel-syndrome-inducing design. regards, tom lane
В списке pgsql-hackers по дате отправления: