On Apr 25, 2011, at 3:28 PM, Tom Lane wrote: > Andrew Dunstan <and...@dunslane.net> writes: >> On 04/25/2011 03:30 PM, Tom Lane wrote: >>> *Ouch*. Really? It's hard to believe that anyone would consider it >>> remotely usable for more than toy-sized projects, if you have to list >>> all the typedef names on the command line. > >> Looks like BSD does the same. It's just that we hide it in pgindent: > > Oh wow, I never noticed that. That's going to be a severe problem for > the "run it anywhere" goal. The typedefs list is already close to 32K, > and is not going anywhere but up. There are already platforms on which > a shell command line that long will fail, and I think once we break past > 32K we might find it failing on even pretty popular ones.
I take it the behavior of the `indent` program is sufficiently complex that it couldn't be modeled sufficiently easily by a smart enough perl script? Regards, David -- David Christensen End Point Corporation da...@endpoint.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers