Re: aliases for temp tables....

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alfonso Peniche <alfonso@iteso.mx>, pgsql-general@postgresql.org
Date: 2001-02-18T05:53:49Z
Lists: pgsql-general
> 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