From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Allow callers to pass a missing_ok flag when opening a relation. |
Date: | 2011-06-27 19:26:02 |
Message-ID: | E1QbHRa-0000Xc-Lj@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Allow callers to pass a missing_ok flag when opening a relation.
Since the names try_relation_openrv() and try_heap_openrv() don't seem
quite appropriate, rename the functions to relation_openrv_extended()
and heap_openrv_extended(). This is also more general, if we have a
future need for additional parameters that are of interest to only a
few callers.
This is infrastructure for a forthcoming patch to allow
get_object_address() to take a missing_ok argument as well.
Patch by me, review by Noah Misch.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9abbed0629c862710bdc0f0dd3565e069ecab9da
Modified Files
--------------
src/backend/access/heap/heapam.c | 24 ++++++++++++++----------
src/backend/parser/parse_relation.c | 2 +-
src/include/access/heapam.h | 6 ++++--
src/pl/tcl/pltcl.c | 4 ++--
4 files changed, 21 insertions(+), 15 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2011-06-27 21:15:32 | pgsql: Reduce impact of btree page reuse on Hot Standby by fixing off-b |
Previous Message | Robert Haas | 2011-06-27 18:02:20 | Re: [COMMITTERS] pgsql: Make the visibility map crash-safe. |