Re: [HACKERS] pgindent README correction

Lists: pgsql-hackerspgsql-www
From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: pgindent README correction
Date: 2012-01-09 17:31:02
Message-ID: 4F0ACFF602000025000445EC@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

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?

-Kevin

Attachment Content-Type Size
pgindent-path.patch text/plain 571 bytes

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
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


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-hackers(at)postgresql(dot)org, PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: [HACKERS] pgindent README correction
Date: 2012-02-07 23:40:13
Message-ID: 20120207234013.GA17580@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

On Mon, Jan 09, 2012 at 01:32:49PM -0500, Robert Haas wrote:
> > 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.

What server do I log into to update the ftp pgindent tgz file?

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

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


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: [HACKERS] pgindent README correction
Date: 2012-02-08 08:13:15
Message-ID: CABUevExp5hjswj+rpcnM_J8c61zZsUiotRA84UhtUFiq0e-Lcw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

On Wednesday, February 8, 2012, Bruce Momjian wrote:

> On Mon, Jan 09, 2012 at 01:32:49PM -0500, Robert Haas wrote:
> > > 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.
>
> What server do I log into to update the ftp pgindent tgz file?
>

The ftp master server is fornax.postgresql.org.

//Magnus

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: [HACKERS] pgindent README correction
Date: 2012-02-08 09:35:03
Message-ID: CA+OCxowGeGXo054mmEJbUEy9=zKZbp+9Z1f4=rXZd5kAZ8f_2Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-www

On Wed, Feb 8, 2012 at 8:13 AM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> On Wednesday, February 8, 2012, Bruce Momjian wrote:
>>
>> On Mon, Jan 09, 2012 at 01:32:49PM -0500, Robert Haas wrote:
>> > > 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.
>>
>> What server do I log into to update the ftp pgindent tgz file?
>
>
> The ftp master server is fornax.postgresql.org.

Though, you should bookmark ftpmaster.postgresql.org which will always
point to the master FTP server even if it moves to a different host.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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
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. +