| От | Stephen Frost |
|---|---|
| Тема | Re: mogrify and indent features for jsonb |
| Дата | |
| Msg-id | 20150429182201.GA30322@tamriel.snowman.net обсуждение |
| Ответ на | Re: mogrify and indent features for jsonb (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Список | pgsql-hackers |
* Alvaro Herrera (alvherre@2ndquadrant.com) wrote:
> Robert Haas wrote:
> > On Mon, Apr 27, 2015 at 6:41 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> > > There's one exception I, at least, have to this rule, namely when there's a
> > > corresponding compound if or else. I personally find this unaesthetic to put
> > > it mildly:
> > >
> > > if (condition)
> > > statement;
> > > else
> > > {
> > > block of statements;
> > > }
> >
> > Hmm, I don't dislike that style. If somebody submitted a patch with
> > braces around the lone statement, I would remove them before
> > committing.
>
> Same here.
Agreed.
Thanks!
Stephen
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера