CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl@postgresql.org 01/10/01 01:36:17
Modified files:
src/backend/access/transam: xlogutils.c
src/backend/postmaster: pgstat.c
src/backend/storage/buffer: buf_init.c buf_table.c
src/backend/storage/freespace: freespace.c
src/backend/storage/ipc: shmem.c
src/backend/storage/lmgr: lock.c
src/backend/storage/smgr: mm.c
src/backend/utils/adt: ri_triggers.c
src/backend/utils/cache: relcache.c
src/backend/utils/hash: dynahash.c hashfn.c
src/backend/utils/mmgr: portalmem.c
src/include/storage: buf_internals.h lock.h shmem.h
src/include/utils: hsearch.h
Log message:
Another round of cleanups for dynahash.c (maybe it's finally clean of
portability issues). Caller-visible data structures are now allocated
on MAXALIGN boundaries, allowing safe use of datatypes wider than 'long'.
Rejigger hash_create API so that caller specifies size of key and
total size of entry, not size of key and size of rest of entry.
This simplifies life considerably since each number is just a sizeof(),
and padding issues etc. are taken care of automatically.