Re: WIP pgindent replacement

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP pgindent replacement
Date: 2011-06-22 03:15:43
Message-ID: 16773.1308712543@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Attached is a WIP possible replacement for pgindent. Instead of a shell
> script invoking a mishmash of awk and sed, some of which is pretty
> impenetrable, it uses a single engine (perl) to do all the pre and post
> indent processing.

Hm ... this should offer the chance of running on Windows, but otherwise
I'm not sure it does very much for us, if you still have to have a
patched version of NetBSD indent underneath.

> If anybody is so inclined, this could be used as a basis for removing
> the use of bsd indent altogether, as has been suggested before, as well
> as external entab/detab.

Now *that* I would get excited about. But surely it would be a huge
amount more work?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2011-06-22 03:24:34 Re: Indication of db-shared tables
Previous Message Robert Haas 2011-06-22 03:11:41 Re: [v9.2] DROP Reworks Part.0 - 'missing_ok' support of get_object_address