Re: pgindent README correction - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pgindent README correction
Date
Msg-id CA+Tgmob4X0vcwPcYyW3Rj4UxjkiPY-s8o-=6=raFdik4ax284Q@mail.gmail.com
Whole thread Raw
In response to pgindent README correction  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: pgindent README correction  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Mon, Jan 9, 2012 at 12:31 PM, Kevin Grittner
<Kevin.Grittner@wicourts.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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: information schema/aclexplode doesn't know about default privileges
Next
From: Josh Berkus
Date:
Subject: Why is CF 2011-11 still listed as "In Progress"?