pgsql: Sigh ...

Поиск
Список
Период
Сортировка
Искать

pgsql: Sigh ...

От:
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Sigh ... pg_config.h.win32 needs to define BLCKSZ and RELSEG_SIZE now.

Modified Files:
--------------
    pgsql/src/include:
        pg_config.h.win32 (r1.53 -> r1.54)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.win32?r1=1.53&r2=1.54)

Re: pgsql: Sigh ...

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:


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


FAQ