Re: Transactions to create pg_multixact members and offsets - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Transactions to create pg_multixact members and offsets
Date
Msg-id 20141120174556.GK1639@alvin.alvh.no-ip.org
Whole thread Raw
In response to Transactions to create pg_multixact members and offsets  (Dev Kumkar <devdas.kumkar@gmail.com>)
Responses Re: Transactions to create pg_multixact members and offsets
List pgsql-general
Dev Kumkar wrote:
> Hellos,
>
> How to manually increase pg_multixact members and offsets?

Search for "burnmulti" in the archives, which is a contrib module to
test pg_multixact.

> Does a transaction waiting for exclusive lock or shared lock result into
> entry being created in pg_multixact?

Merely waiting does not, but more than one lock being acquired on a
tuple does cause a multixact to be created.  Try SELECT FOR SHARE on two
transactions on the same tuple.

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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: better architecture?
Next
From: Marcos Cano
Date:
Subject: pgdump (9.2.4) not dumping all tables