Re: The curious case of two inserts, a shrinking xmax, and a ShareLock on transaction

Поиск
Список
Период
Сортировка
От Jeff Dik
Тема Re: The curious case of two inserts, a shrinking xmax, and a ShareLock on transaction
Дата
Msg-id CAG9nzwTMa8D-ibSCLL4vnQt043B0tOAjSP8YsZvRbEvXxVfBdA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: The curious case of two inserts, a shrinking xmax, and a ShareLock on transaction  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-general
On Wed, Sep 23, 2015 at 11:26 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
Jeff Dik wrote:

> Is there any way to inspect a multixact via psql to see what transaction ID
> values it has?  I wasn't able to find anything while searching for an hour
> or so.

There's the function pg_get_multixact_members(xid),

=# select * from pg_get_multixact_members('1');

 xid  |  mode
------+--------
 5401 | keysh
 5402 | forupd
...

That's fantastic.  Thanks so much!

Jeff
 

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Предыдущее
От: Daniel Begin
Дата:
Сообщение: PostgreSQL and Windows 10 upgrade
Следующее
От: Israel Brewster
Дата:
Сообщение: Postgresql HA questions