| От | Richard Huxton |
|---|---|
| Тема | Re: display temp table structure? |
| Дата | |
| Msg-id | 3AADD39F.E2DA7050@archonet.com обсуждение исходный текст |
| Ответ на | Re: display temp table structure? (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: display temp table structure?
|
| Список | pgsql-general |
Tom Lane wrote: > > 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). 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
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера