agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: jim_yates <pg@wg5jim.net>
To: pgsql-sql@postgresql.org
Subject: Re: could not access status of transaction pg_multixact issue
Date: Thu, 9 Oct 2014 10:02:40 -0700 (PDT)
Message-ID: <1412874160409-5822399.post@n5.nabble.com> (raw)
In-Reply-To: <20141009151229.GD7043@eldon.alvh.no-ip.org>
References: <1412791213607-5822248.post@n5.nabble.com>
	<20141008185538.GY7043@eldon.alvh.no-ip.org>
	<1412797415000-5822268.post@n5.nabble.com>
	<20141008205416.GZ7043@eldon.alvh.no-ip.org>
	<1412863620263-5822376.post@n5.nabble.com>
	<5436A34C.8090306@aklaver.com>
	<20141009151229.GD7043@eldon.alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Alvaro Herrera-9 wrote
> 
> There must have been some confusion somewhere; certainly you shouldn't
> be subtracting anything.  The subtraction was just suggested as a way to
> determine the age.  The value to update pg_database.datminmxid to is the
> oldest one of all the relminmxid in pg_class; so if you have 8376 as the
> minimum value there, that's what you set pg_database.datminmxid to.  Not
> the 21973 value.
> 
>  update pg_database set datminmxid='8376' where datname='production-copy';

Ok, I'm still confused.  Is the value to use the Max value of relminmxid
from pg_class or the value of NextMultiXactId from pg_controldump?   Or are
these the same thing?





--
View this message in context: http://postgresql.1045698.n5.nabble.com/could-not-access-status-of-transaction-pg-multixact-issue-tp...
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (16+ messages)  latest in thread

Message-ID: <1412874160409-5822399.post@n5.nabble.com>
Permalink:  ../1412874160409-5822399.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1412874160409-5822399.post@n5.nabble.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pg@wg5jim.net
  Subject: Re: could not access status of transaction pg_multixact issue
  In-Reply-To: <1412874160409-5822399.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox