Re: pgsql: Sigh ... - Mailing list pgsql-committers

From Andrew Dunstan
Subject Re: pgsql: Sigh ...
Date
Msg-id 481AC977.8030609@dunslane.net
Whole thread Raw
In response to pgsql: Sigh ...  (tgl@postgresql.org (Tom Lane))
List pgsql-committers

Tom Lane wrote:
> Log Message:
> -----------
> Sigh ... pg_config.h.win32 needs to define BLCKSZ and RELSEG_SIZE now.
>

Tom,

this reminds me a bit of Talleyrand's reply to the beggar who said to
him "Monseigneur, il faut que je vive," ... "Je n'en vois pas la
nécessité.".

This fix is surely wrong for several reasons:
. the configure changes only broke MSVC builds, not all Windows builds
(see narwhal, for example), but this change applies to both.
. fixing a change that adds a configure option by hardcoding it in
pg_config.h.win32 is simply the wrong fix - the right fix is to add the
equivalent logic to src/tools/Solution.pm.

I don't mind if you ask someone (realistically that will usually be
Magnus or me) to unbreak MSVC builds due to a configure change, because
you are not set up to test it yourself. But I do mind the wrong solution
being applied just to unbreak the buildfarm.

I make corrective surgery in the morning.

cheers

andrew



pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Sigh ...
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: One-letter backslash commands now need a space before the first