Joe Conway <mail(at)joeconway(dot)com> writes:
> I looked at re-adding your own "pg_temp_n" schema back into the results.
> But I don't see a way to determine your own BackendId unless we add a
> builtin function to expose MyBackendId as a user callable function.
> Should we do this, or did I just miss something?
I don't think it's important. Real soon now we will be changing psql's
queries to take visibility into account directly (cf my comments to
Greg Mullane yesterday). That should take care of making one's temp
tables visible, I think; and if not we can address the issue at that
time.
regards, tom lane