Re: new initdb.c available

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: new initdb.c available
Date: 2003-10-07 01:42:49
Message-ID: 200310070142.h971gnB05868@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32

Andrew Dunstan wrote:
>
> Thanks. I will attend to most of this. A couple of points:
>
> . using "wb" for writing out on Windows is so that we don't get Windows'
> gratuitous addition of carriage returns. I will document that.
> . I can't use do { stuff; } while(0) for a macro that does declarations
> - the declarations would be local to the do block.
>
> Doesn't pg_indent do the spacing for us when code is merged? I guess I
> can get BSD indent - my Linux box only has GNU indent. If indent won't
> do spacing I'll go through and do it by hand.

Patched BSD indent is our our ftp server. It is mentioned in the
pgindent README in current CVS.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Sherrill 2003-10-07 02:47:50 Re: Dreaming About Redesigning SQL
Previous Message Tom Lane 2003-10-07 00:11:19 Re: new initdb.c available

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2003-10-08 16:56:24 setlocale
Previous Message Tom Lane 2003-10-07 00:11:19 Re: new initdb.c available