Обсуждение: pgsql/src/backend/access/transam (transam.c)

Поиск
Список
Период
Сортировка

pgsql/src/backend/access/transam (transam.c)

От
Tom Lane
Дата:
  Date: Thursday, August  3, 2000 @ 15:18:58
Author: tgl

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

Modified Files:
    transam.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 :-(.