pgsql: Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and
Date: 2008-07-19 04:01:29
Message-ID: 20080719040129.99CDB754A86@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2008-07-20 05:02:32 npgsql - Npgsql2: [#1010231] Reading result set with UUID is very slow
Previous Message Tom Lane 2008-07-18 20:26:07 pgsql: Adjust things so that the query_string of a cached plan and the