Re: [GENERAL] pgindented tsearch2 for 7.3.4

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] pgindented tsearch2 for 7.3.4
Date: 2003-09-24 17:56:16
Message-ID: Pine.LNX.4.21.0309241850490.8318-100000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, 24 Sep 2003, Bruce Momjian wrote:

> Nigel J. Andrews wrote:
> >
> >
> > I never knew running indent was so damn complicated. All three of my
> > development systems can not manage it without throughing a fault
> ...
>
> There are about 6 files that can't be run through pgindent, and tsearch2
> has one of them:
>
> $ pgindent *.c
> Hope you installed /src/tools/pgindent/indent.bsd.patch.
>
> gistidx.c
> Error(at)186: Unbalanced parens
> Warning(at)187: Extra )
> Error(at)314: Unbalanced parens
> ...

It was a far more basic problem than that! I'd have been pleased if I'd got as
far as that. You developers of today don't know you're born. Back in my day we
used to have to get up before noon just to turn the computer on...

Actually, I had a problem in that I only had GNU indent and BSD indent that was
core dumping but it was unpatched, plus I couldn't find the BSD indent source
on the web. Eventually found it, in a linux distribution of all places, and
then I got the above errors, by which time I was quite prepared to not count
those as such.

There are a few macro's defined that make me think of fortran programmers
moving to C.

Anyway Bruce, you'll see the patch eventually generated lower down you inbox.

--
Nigel J. Andrews

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2003-09-24 18:01:08 Re: GET LAST ID INSERT
Previous Message Jan Wieck 2003-09-24 17:50:12 Re: About GPL and proprietary software

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-24 18:08:11 Re: pgsql-server/src/backend catalog/index.c comma ...
Previous Message Bruce Momjian 2003-09-24 17:44:49 Darwin compile flags