Re: display temp table structure?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Limin Liu <limin(at)pumpkinnet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: display temp table structure?
Date: 2001-03-13 00:06:20
Message-ID: 200103130006.TAA27894@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Thanx Bruce
>
> What I found is something like pg_temp.25865.0. Do we have some kind of
> mapping table between the "real temp table name" and pg_temp*. If there
> are more than one temp tables, I need a way to differentiate them.
>
> Thanks for your help

There is no user-visible mapping, though the number is the process id.
You could use that. I think you can get the backend process id somehow,
but I am not sure how. Anyone?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2001-03-13 00:13:42 Re: -F option again
Previous Message Tom Lane 2001-03-12 23:22:35 Re: Postgresql 7.1 Beta 5, Postmaster dead