Re: mogrify and indent features for jsonb

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: mogrify and indent features for jsonb
Date: 2015-04-29 18:22:01
Message-ID: 20150429182201.GA30322@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Alvaro Herrera (alvherre(at)2ndquadrant(dot)com) wrote:
> Robert Haas wrote:
> > On Mon, Apr 27, 2015 at 6:41 PM, Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-04-29 18:26:01 Re: cache invalidation for PL/pgsql functions
Previous Message Alvaro Herrera 2015-04-29 18:17:43 Re: mogrify and indent features for jsonb