Re: Reaping Temp tables to avoid XID wraparound

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reaping Temp tables to avoid XID wraparound
Дата
Msg-id 28398.1550077518@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reaping Temp tables to avoid XID wraparound  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Reaping Temp tables to avoid XID wraparound  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> And while at it, what would in this particular case have been even more
> useful to the OP would be to actually identify that there is a temp table
> *and which xid it's blocking at*. For regular transactions we can look at
> backend_xid, but IIRC that doesn't work for temp tables (unless they are
> inside a transaction). Maybe we can find a way to expose that type of
> relevant information at a similar level while poking around that code?

Maybe I'm confused, but doesn't the table's pg_class row tell you what
you need to know?  You can't look inside another session's temp table,
but you don't need to.

            regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: reducing isolation tests runtime
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Ryu floating point output patch