Re: branching for 9.2devel - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: branching for 9.2devel
Date
Msg-id 1303786783-sup-396@alvh.no-ip.org
Whole thread Raw
In response to Re: branching for 9.2devel  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: branching for 9.2devel  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Excerpts from Tom Lane's message of lun abr 25 20:48:42 -0300 2011:
> Andrew Dunstan <andrew@dunslane.net> writes:

> > Well, that way you'll have a handful of -Ttypdef parameters for each 
> > invocation of indent instead of a gazillion of them. No more command 
> > line length issues.
> 
> Well, -Ttypedef is wrong on its face.  Right would be a switch
> specifying the name of the file to read the typedef list from.
> Then you don't need massive script-level infrastructure to try
> to spoonfeed that data to the program doing the work.

I gather that Andrew will be working on replacing the pgindent shell
script with a Perl script, but this new script will still rely on our
patched BSD indent, right?

Of course, it would make sense to further patch indent so that it
accepts typedefs in a file instead of thousands of -T switches, but that
seems orthogonal.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: branching for 9.2devel
Next
From: Tom Lane
Date:
Subject: Re: branching for 9.2devel