Re: mogrify and indent features for jsonb

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: mogrify and indent features for jsonb
Дата
Msg-id CA+Tgmoa1Z+6Gnqf_8RFeOnud5jPBv-MG_EVKpKCMEfjQQv02Zg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: mogrify and indent features for jsonb  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: mogrify and indent features for jsonb  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: mogrify and indent features for jsonb  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
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.

<ducks>

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Reducing tuple overhead
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Feedback on getting rid of VACUUM FULL