Re: display temp table structure? - Mailing list pgsql-general

From Tom Lane
Subject Re: display temp table structure?
Date
Msg-id 7947.984443032@sss.pgh.pa.us
Whole thread Raw
In response to Re: display temp table structure?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 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?

If you're using libpq, there is a function to retrieve the backend's PID
from the PGconn (PQbackendPID).  I don't think any of the other client
libraries provide this (yet).

            regards, tom lane

pgsql-general by date:

Previous
From: Joseph Shraibman
Date:
Subject: Re: -F option again
Next
From: "Jeff Schnitzer"
Date:
Subject: Case insensitive primary keys