Re: [PATCHES] (Modified) Patch request for PostgreSQL 7.4 for

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, ViSolve Open Source Team <opensrc_support_hp(at)visolve(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] (Modified) Patch request for PostgreSQL 7.4 for
Date: 2004-01-03 01:53:39
Message-ID: 200401030153.i031rdf08090@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Tom Lane wrote:
> It appears that there was once provision to do more interesting things
> via cpp: the Makefile and genbki shell script contain provisions to
> pass additional switches to cpp, which presumably might be used to
> insert "-D" switches so that identifiers could be expanded to something
> else in the BKI data. But we aren't using that, and have not done so
> for a very long time. Instead we expect genbki.sh itself to replace
> everything that needs replacing (NAMEDATALEN etc). I see no reason
> why we'd abandon that technique in favor of using cpp again.
>
> So I propose that we remove the cpp invocation and associated
> infrastructure from genbki.sh. Any objections?

I was wondering why the quote merging was happening only for *.c file in
HP's cpp. And if it is legal for *.c, why not for *.h, and why doesn't
it hit us with other compilers.

Looks like we are not using awk for all the subsitutions. Removing the
cpp call seems like a great idea.

--
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-bugs by date

  From Date Subject
Next Message Arvind Tiwari 2004-01-03 11:57:02 PostgreSQL 7.4 on Windows XP?
Previous Message Tom Lane 2004-01-02 20:29:41 Re: [PATCHES] (Modified) Patch request for PostgreSQL 7.4 for HP-UX

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2004-01-04 06:56:27 Re: Lock contention (was Re: [PATCHES] update i386
Previous Message Tom Lane 2004-01-02 20:29:41 Re: [PATCHES] (Modified) Patch request for PostgreSQL 7.4 for HP-UX