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)
commit71125e35a137048c3671e4d016ba6588863870ff
treea4b6cbffdfa281867531ced6c38a031ab98b34a9
parentcb5a7ee45f80b8293436d805ba70e6e556606c0d
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