Re: pgindent README correction

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgindent README correction
Date: 2012-01-09 18:32:49
Message-ID: CA+Tgmob4X0vcwPcYyW3Rj4UxjkiPY-s8o-=6=raFdik4ax284Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

On Mon, Jan 9, 2012 at 12:31 PM, Kevin Grittner
<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> I found that I needed to adjust the command given in the README file
> for pgindent.  Trivial patch attached.

Committed.

> The one other issue I ran into in following the latest pgindent
> instructions was that I had to add #include <stdlib.h> to the
> parse.c file (as included in the pg_bsd_indent-1.1.tar.gz file at
> ftp://ftp.postgresql.org/pub/dev ).  Without it I got this:
>
> parse.c: In function *parse*:
> parse.c:236:6: warning: implicit declaration of function *exit*
> parse.c:236:6: warning: incompatible implicit declaration of built-in
> function *exit*
>
> Can someone fix that and put up a 1.2 version?

Sounds like a job for Mr. Momjian.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2012-01-09 18:37:25 Why is CF 2011-11 still listed as "In Progress"?
Previous Message Peter Eisentraut 2012-01-09 18:23:59 Re: information schema/aclexplode doesn't know about default privileges

Browse pgsql-www by date

  From Date Subject
Next Message Josh Berkus 2012-01-12 18:33:52 Fate of pgFoundry
Previous Message Kevin Grittner 2012-01-09 17:31:02 pgindent README correction