Re: Run pgindent now?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Run pgindent now?
Date: 2015-05-27 23:28:39
Message-ID: 55665327.2060508@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5/27/15 5:08 PM, Andres Freund wrote:
> I don't think I need to. clang-format has apparently done pretty much
> what I described:

Well, that appears to work reasonably well in practice, which is all we
can hope for. Unfortunately, clang-format makes a bit of a mess of some
of our code, so it isn't quite ready. (There is hope, however. I
recall significant improvements between 3.5 and 3.6.)

For amusement, I have attached a .clang-format that I have been working on.

Attachment Content-Type Size
_clang-format text/plain 531 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message digoal zhou 2015-05-28 00:03:52 Re: Can we add syntax for references auto create index or not.
Previous Message David Fetter 2015-05-27 23:10:07 GENERATED: the new generation