Excerpts from Robert Haas's message of mié jun 22 08:56:02 -0400 2011:
> 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(). Passing true would give the same behavior as
> presently; passing false would make them behave like the non-try
> version.
That would be pretty weird, having two functions, one of them sometimes
doing the same thing as the other one.
I understand Noah's concern but I think your original proposal was saner
than both options presented so far.
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support