Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> Another option might be to leave heap_openrv() and relation_openrv()
> alone and add a missing_ok argument to try_heap_openrv() and
> try_relation_openrv().
+1 for that, although the try_ prefix might be inappropriate naming
now; how about cond_relation_openrv?
regards, tom lane