Обсуждение: pgsql: Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and

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

pgsql: Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and FLOAT8PASSBYVAL into
the postgres.bki file during build, because we want that file to be entirely
platform- and configuration-independent; else it can't safely be put into
/usr/share on multiarch machines.  We can do the substitution during initdb,
instead.  FLOAT4PASSBYVAL and FLOAT8PASSBYVAL are new breakage as of 8.4,
while the NAMEDATALEN hazard has been there all along but I guess no one
tripped over it.  Noticed while trying to build "universal" OS X binaries.

Modified Files:
--------------
    pgsql/src/backend/catalog:
        genbki.sh (r1.44 -> r1.45)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/genbki.sh?r1=1.44&r2=1.45)
    pgsql/src/bin/initdb:
        initdb.c (r1.157 -> r1.158)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.157&r2=1.158)
    pgsql/src/tools/msvc:
        Genbki.pm (r1.4 -> r1.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Genbki.pm?r1=1.4&r2=1.5)