Autoconfiscate selection of 64-bit int type for 64-bit large object API.
Get rid of the fundamentally indefensible assumption that "long long int"
exists and is exactly 64 bits wide on every platform Postgres runs on.
Instead let the configure script select the type to use for "pg_int64".
This is a bit of a pain in the rear since we do not want to pollute client
namespace with all the random symbols that pg_config.h defines; instead
we have to create a separate generated header file, "pg_config_ext.h".
But now that the infrastructure is there, we might have the ability to
add some other stuff that's long been wanting in this area.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/95d035e66d8e4371d35830d81f39face03cd4c45
Modified Files
--------------
configure | 21 +++++++++++++++++++--
configure.in | 16 ++++++++++++++--
src/Makefile.global.in | 6 ++++++
src/bcc32.mak | 3 ++-
src/include/.gitignore | 3 ++-
src/include/Makefile | 16 +++++++++-------
src/include/c.h | 20 ++++++++++++--------
src/include/pg_config.h.in | 3 +++
src/include/pg_config.h.win32 | 3 +++
src/include/pg_config_ext.h.in | 7 +++++++
src/include/pg_config_ext.h.win32 | 7 +++++++
src/include/postgres_ext.h | 12 ++++++------
src/include/storage/large_object.h | 13 ++++++++-----
src/interfaces/libpq/bcc32.mak | 5 ++++-
src/interfaces/libpq/fe-lobj.c | 15 +--------------
src/interfaces/libpq/libpq-fe.h | 18 ++++++------------
src/interfaces/libpq/libpq-int.h | 6 +++---
src/interfaces/libpq/win32.mak | 5 ++++-
src/tools/msvc/Install.pm | 5 +++--
src/tools/msvc/Solution.pm | 8 ++++++++
src/tools/msvc/clean.bat | 1 +
src/win32.mak | 3 ++-
22 files changed, 130 insertions(+), 66 deletions(-)