Excerpts from Tom Lane's message of lun abr 25 20:48:42 -0300 2011:
> Andrew Dunstan <and...@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 <alvhe...@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to