]> granicus.if.org Git - postgresql/commit
Convert index-related tuple handling routines from char 'n'/' ' to bool
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Mar 2005 01:24:04 +0000 (01:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Mar 2005 01:24:04 +0000 (01:24 +0000)
commitee4ddac137b7c66e3bec6f74e3503236476cb16e
tree3f8d12f472288b6758fc74802230374ef0e4b764
parentfe7015f5e821d70428995f04726215fc79294f10
Convert index-related tuple handling routines from char 'n'/' ' to bool
convention for isnull flags.  Also, remove the useless InsertIndexResult
return struct from index AM aminsert calls --- there is no reason for
the caller to know where in the index the tuple was inserted, and we
were wasting a palloc cycle per insert to deliver this uninteresting
value (plus nontrivial complexity in some AMs).
I forced initdb because of the change in the signature of the aminsert
routines, even though nothing really looks at those pg_proc entries...
24 files changed:
doc/src/sgml/indexam.sgml
src/backend/access/common/heaptuple.c
src/backend/access/common/indextuple.c
src/backend/access/gist/gist.c
src/backend/access/hash/hash.c
src/backend/access/hash/hashinsert.c
src/backend/access/heap/tuptoaster.c
src/backend/access/index/indexam.c
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtree.c
src/backend/access/rtree/rtree.c
src/backend/catalog/index.c
src/backend/catalog/indexing.c
src/backend/commands/analyze.c
src/backend/executor/execUtils.c
src/include/access/genam.h
src/include/access/hash.h
src/include/access/heapam.h
src/include/access/itup.h
src/include/access/nbtree.h
src/include/access/tuptoaster.h
src/include/catalog/catversion.h
src/include/catalog/index.h
src/include/catalog/pg_proc.h