pgsql: Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and
Date
Msg-id 20080719040129.99CDB754A86@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Adjust things so that the query_string of a cached plan and the
Next
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: [#1010231] Reading result set with UUID is very slow