Re: mogrify and indent features for jsonb

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: mogrify and indent features for jsonb
Дата
Msg-id 20150429181743.GJ4369@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: mogrify and indent features for jsonb  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: mogrify and indent features for jsonb  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
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.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Adam Brightwell
Дата:
Сообщение: Re: [RFC] sepgsql: prohibit users to relabel objects
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: mogrify and indent features for jsonb