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

From: Jeff Dik <jeffdik(at)finecode(dot)net>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: The curious case of two inserts, a shrinking xmax, and a ShareLock on transaction
Date: 2015-09-23 15:59:36
Message-ID: CAG9nzwTMa8D-ibSCLL4vnQt043B0tOAjSP8YsZvRbEvXxVfBdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Sep 23, 2015 at 11:26 AM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Israel Brewster 2015-09-23 16:36:36 Postgresql HA questions
Previous Message Daniel Begin 2015-09-23 15:50:50 PostgreSQL and Windows 10 upgrade