Re: pg_multixact not getting truncated - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_multixact not getting truncated
Date
Msg-id 20141121192052.GP1639@alvin.alvh.no-ip.org
Whole thread Raw
In response to Re: pg_multixact not getting truncated  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus wrote:

> Actually, here's a question ... pg_clog is usually smaller than I think
> it should be (that is, smaller than 4bytes * XID_age).  Why is that?

It's not 4 bytes per Xid, but 2 bits per Xid, so Xid_age / 4.

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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on
Next
From: Tom Lane
Date:
Subject: Re: psql \sf doesn't show it's SQL when ECHO_HIDDEN is on