Re: Reaping Temp tables to avoid XID wraparound

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: Reaping Temp tables to avoid XID wraparound
Дата
Msg-id
20190213012546.GB5746@paquier.xyz
Ответ на
Список
Дерево обсуждения
Reaping Temp tables to avoid XID wraparound James Sewell <james.sewell@jirotech.com>
RE: Reaping Temp tables to avoid XID wraparound "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>
Re: Reaping Temp tables to avoid XID wraparound Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Reaping Temp tables to avoid XID wraparound Michael Paquier <michael@paquier.xyz>
RE: Reaping Temp tables to avoid XID wraparound "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>
Re: Reaping Temp tables to avoid XID wraparound Magnus Hagander <magnus@hagander.net>
Re: Reaping Temp tables to avoid XID wraparound Michael Paquier <michael@paquier.xyz>
Re: Reaping Temp tables to avoid XID wraparound Magnus Hagander <magnus@hagander.net>
Re: Reaping Temp tables to avoid XID wraparound Michael Paquier <michael@paquier.xyz>
Re: Reaping Temp tables to avoid XID wraparound James Sewell <james.sewell@jirotech.com>
Re: Reaping Temp tables to avoid XID wraparound Michael Paquier <michael@paquier.xyz>
Re: Reaping Temp tables to avoid XID wraparound Magnus Hagander <magnus@hagander.net>
Re: Reaping Temp tables to avoid XID wraparound Michael Paquier <michael@paquier.xyz>
Re: Reaping Temp tables to avoid XID wraparound Magnus Hagander <magnus@hagander.net>
Re: Reaping Temp tables to avoid XID wraparound Michael Paquier <michael@paquier.xyz>
Re: Reaping Temp tables to avoid XID wraparound Magnus Hagander <magnus@hagander.net>
Re: Reaping Temp tables to avoid XID wraparound Michael Paquier <michael@paquier.xyz>
Re: Reaping Temp tables to avoid XID wraparound James Sewell <james.sewell@jirotech.com>
Re: Reaping Temp tables to avoid XID wraparound Tom Lane <tgl@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 James Sewell <james.sewell@jirotech.com>
On Wed, Feb 13, 2019 at 12:38:51AM +0000, Andrew Gierth wrote:
> Doesn't work - that function's idea of "backend id" doesn't match the
> real one, since it's looking at a local copy of the stats from which
> unused slots have been removed.

The temporary namespace OID is added to PGPROC since v11, so it could
be easy enough to add a system function which maps a temp schema to a
PID.  Now, it could actually make sense to add this information into
pg_stat_get_activity() and that would be cheaper.
--
Michael
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
Сообщение: Re: Statement-level rollback
От: Michael Paquier
Дата:
FAQ