Re: [COMMITTERS] pgsql: Remove too-smart-for-its-own-good optimization of not overwriting

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Remove too-smart-for-its-own-good optimization of not overwriting
Date: 2010-01-05 04:03:48
Message-ID: 603c8f071001042003k77fe55a1u28624fcb37101443@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Mon, Jan 4, 2010 at 11:03 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> I think you're dismissing the idea too cavalierly.  If A generates B,
>> A is inevitably changed frequently, but the changes to A affect B only
>> rarely, this is a good trick.
>
> The only output file that is unlikely to change is schemapg.h, which is
> depended on by exactly one .c file.  It's a waste of time to try to
> optimize this at all ...

OK, fair enough.

...Robert

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-01-05 06:41:44 pgsql: Further code review for genbki.pl.
Previous Message Tom Lane 2010-01-05 04:03:01 Re: [COMMITTERS] pgsql: Remove too-smart-for-its-own-good optimization of not overwriting

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-01-05 04:12:55 Re: quoting psql varible as identifier
Previous Message Tom Lane 2010-01-05 04:03:01 Re: [COMMITTERS] pgsql: Remove too-smart-for-its-own-good optimization of not overwriting