]> granicus.if.org Git - postgresql/commit
Further cleanup of dynahash.c API, in pursuit of portability and
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 Oct 2001 17:28:13 +0000 (17:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 Oct 2001 17:28:13 +0000 (17:28 +0000)
commit8a52b893b3d83c6dc796fae6a07a4ac30c871fc4
tree65b88475931f536afffe13f489c10167a8b12a12
parent343318028fb4aca0c69663c7d429d602a32aaf02
Further cleanup of dynahash.c API, in pursuit of portability and
readability.  Bizarre '(long *) TRUE' return convention is gone,
in favor of just raising an error internally in dynahash.c when
we detect hashtable corruption.  HashTableWalk is gone, in favor
of using hash_seq_search directly, since it had no hope of working
with non-LONGALIGNable datatypes.  Simplify some other code that was
made undesirably grotty by promixity to HashTableWalk.
20 files changed:
src/backend/access/transam/xlogutils.c
src/backend/commands/command.c
src/backend/executor/spi.c
src/backend/lib/Makefile
src/backend/lib/hasht.c [deleted file]
src/backend/postmaster/pgstat.c
src/backend/storage/buffer/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/tcop/pquery.c
src/backend/utils/adt/ri_triggers.c
src/backend/utils/cache/relcache.c
src/backend/utils/hash/dynahash.c
src/backend/utils/mmgr/portalmem.c
src/include/lib/hasht.h [deleted file]
src/include/storage/shmem.h
src/include/utils/hsearch.h
src/include/utils/portal.h