Re: pgindent README correction

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgindent README correction
Date: 2012-08-27 13:35:51
Message-ID: 20120827133551.GB11088@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

On Mon, Jan 9, 2012 at 11:31:02AM -0600, Kevin Grittner wrote:
> I found that I needed to adjust the command given in the README file
> for pgindent. Trivial patch attached.
>
> 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?

Done. Please give the ftp mirrors a little while to update, but you can
get pg_bsd_indent 1.2 now at ftpmaster.postgresql.org. pgindent was
also updated to require the 1.2 version.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2012-08-27 13:48:22 Re: archive_keepalive_command
Previous Message Amit Kapila 2012-08-27 13:30:40 Re: [WIP] Performance Improvement by reducing WAL for Update Operation

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2012-08-27 15:30:26 Re: Archive dump for pgsql-jdbc?
Previous Message Magnus Hagander 2012-08-27 10:31:12 Re: Release versioning inconsistency redux