]> granicus.if.org Git - postgresql/commit
Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and FLOAT8PASSBYVAL into
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 Jul 2008 04:01:29 +0000 (04:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 Jul 2008 04:01:29 +0000 (04:01 +0000)
commit4b362c662e35c0edd6ed66523f94ebfe9f466329
treef6afb196f699504ab970e2102645dcf49def8f10
parenta1c692358bb9958b7cb67e4284aae6aa3aabf714
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.
src/backend/catalog/genbki.sh
src/bin/initdb/initdb.c
src/tools/msvc/Genbki.pm