Re: Throw some low-level C scutwork at me

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andy Lester <andy(at)petdance(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Throw some low-level C scutwork at me
Date: 2009-05-01 20:20:12
Message-ID: 23438.1241209212@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andy Lester <andy(at)petdance(dot)com> writes:
>> So we're hardly alone in not doing it the way you're suggesting.

> Sure, and I'm sure there are plenty of projects that do use them to
> great effect, most notably Perl 5 and Parrot. Perl 5 specifically has
> had the mish-mosh of tabs-vs-spaces reduced by the addition of
> modelines.

The solution we've used for years is to run pg_indent over the tree
every so often. Unlike modelines, this works regardless of whether
patch authors saw fit to use the modelines ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2009-05-01 20:22:10 Re: Throw some low-level C scutwork at me
Previous Message Aidan Van Dyk 2009-05-01 20:19:04 Re: Throw some low-level C scutwork at me