Re: display temp table structure?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Limin Liu <limin(at)pumpkinnet(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: display temp table structure?
Date: 2001-03-13 08:00:30
Message-ID: 3AADD39F.E2DA7050@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
>
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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).

I installed getpid() as a user-defined function (while testing an idea)
- it seemed to work and I assumed it was the backend pid I was getting.

- Richard Huxton

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2001-03-13 08:15:45 Re: Case insensitive primary keys
Previous Message Alex Howansky 2001-03-13 07:59:35 "critical mass" reached?