pgsql/src/backend/access/heap (heapam.c)

From: Tom Lane <tgl>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/access/heap (heapam.c)
Date: 2000-08-03 19:18:55
Message-ID: 200008031918.e73JItl61750@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Date: Thursday, August 3, 2000 @ 15:18:55
Author: tgl

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2000-08-03 19:19:00 pgsql/src/backend/access/transam (transam.c)
Previous Message Tom Lane 2000-08-03 16:35:16 pgsql/src/backend/parser (analyze.c)