pgsql/src/backend/bootstrap (bootstrap.c) - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/bootstrap (bootstrap.c)
Date
Msg-id 200008031919.e73JJ8R61821@hub.org
Whole thread Raw
List pgsql-committers
  Date: Thursday, August  3, 2000 @ 15:19:07
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/bootstrap
     from hub.org:/home/projects/pgsql/tmp/cvs-serv61711/src/backend/bootstrap

Modified Files:
    bootstrap.c

-----------------------------  Log Message  -----------------------------

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 :-(.

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/backend/access/heap (heapam.c)
Next
From: Tom Lane
Date:
Subject: pgsql/src/backend/commands (command.c trigger.c)