Re: Formatting Curmudgeons WAS: MMAP Buffers

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Christopher Browne <cbbrowne@gmail.com>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-04-18T06:07:50Z
Lists: pgsql-hackers
Greg Smith <greg@2ndquadrant.com> writes:
> The last time I tried to do this a few years ago I failed miserably and 
> never came back.  I know way more about building software now though, 
> and just got this to work for the first time.

BTW, another thing that should be in the try-try-again category is
seeing how close we could get to pgindent's results with GNU indent.
It seems clear to me that a process based on GNU indent would be a
lot easier for a lot of people.  We tried that once before, and couldn't
get close enough to want to consider switching, but maybe it just needs
a more determined effort and/or more recent versions of GNU indent.
(ISTR that we hit some things that seemed to be outright bugs in GNU
indent, but this was quite a few years ago.)

			regards, tom lane