]> granicus.if.org Git - postgresql/commit
I had overlooked the fact that some fmgr-callable functions return void
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Jun 2000 05:24:50 +0000 (05:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Jun 2000 05:24:50 +0000 (05:24 +0000)
commitff7b9f55410bbfbd017af331d23371ab61b63d5e
tree6a055be48dd161470503eb2f1a0376bc048ab73b
parent69cd08d9f79818c8ff8b7b74c7ecfe8dcdb0202c
I had overlooked the fact that some fmgr-callable functions return void
--- ie, they're only called for side-effects.  Add a PG_RETURN_VOID()
macro and use it where appropriate.  This probably doesn't change the
machine code by a single bit ... it's just for documentation.
src/backend/access/gist/gist.c
src/backend/access/gist/gistscan.c
src/backend/access/hash/hash.c
src/backend/access/nbtree/nbtree.c
src/backend/access/rtree/rtproc.c
src/backend/access/rtree/rtree.c
src/backend/access/rtree/rtscan.c
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/selfuncs.c
src/include/fmgr.h