]> granicus.if.org Git - postgresql/commit
Redefine Datum as uintptr_t, instead of unsigned long.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Dec 2009 19:41:37 +0000 (19:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Dec 2009 19:41:37 +0000 (19:41 +0000)
commit85d02a6586012edc385a420ebaca1c8ce4e93390
tree4331782a9095429f06b9da7b200538d596d08380
parent8abb0110479382b1873715052933f600d682654c
Redefine Datum as uintptr_t, instead of unsigned long.

This is more in keeping with modern practice, and is a first step towards
porting to Win64 (which has sizeof(pointer) > sizeof(long)).

Tsutomu Yamada, Magnus Hagander, Tom Lane
16 files changed:
configure
configure.in
src/backend/access/common/heaptuple.c
src/backend/access/hash/hashfunc.c
src/backend/port/hpux/tas.c.template
src/backend/storage/lmgr/lwlock.c
src/backend/utils/misc/guc.c
src/include/access/tupmacs.h
src/include/c.h
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/include/postgres.h
src/include/storage/s_lock.h
src/interfaces/ecpg/ecpglib/data.c
src/pl/plperl/plperl.c
src/pl/tcl/pltcl.c