aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/mac.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-08-03 19:19:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-08-03 19:19:38 +0000
commit61aca818c486dbe000ce94c77cb1dd1f379baf67 (patch)
tree6d266f3253db8cb2ea9d59bb63dff89f8f7a1c56 /src/backend/utils/adt/mac.c
parentc298d74d4957845bb03a67092c30b53e5e0d01c2 (diff)
downloadpostgresql-61aca818c486dbe000ce94c77cb1dd1f379baf67.tar.gz
postgresql-61aca818c486dbe000ce94c77cb1dd1f379baf67.zip
Modify heap_open()/heap_openr() API per pghackers discussion of 11 July.
These two routines will now ALWAYS elog() on failure, whether you ask for a lock or not. If you really want to get a NULL return on failure, call the new routines heap_open_nofail()/heap_openr_nofail(). By my count there are only about three places that actually want that behavior. There were rather more than three places that were missing the check they needed to make under the old convention :-(.
Diffstat (limited to 'src/backend/utils/adt/mac.c')
0 files changed, 0 insertions, 0 deletions