Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and FLOAT8PASSBYVAL into

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4b362c662e35c0edd6ed66523f94ebfe9f466329
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-07-19T04:01:29Z
Releases: 8.4.0
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.

Files

PathChange+/−
src/backend/catalog/genbki.sh modified +7 −21
src/bin/initdb/initdb.c modified +13 −1
src/tools/msvc/Genbki.pm modified +1 −17