> AFAIK there is no way to retrieve the temp-table name mapping from the
> backend. Sorry ...
>
> When we implement schemas (hopefully for 7.2) perhaps it will be
> possible to reimplement temp tables in a slightly less klugy way,
> so that this sort of problem goes away.
There is a linked list stored in utils/cache/temprel.c. There is no
interface to that linked list.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026