pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mikheev, Vadim <vmikheev@SECTORBASE.COM>
Cc: Jeff Boes <jboes@nexcerpt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Redo record at high number
Date: Fri, 05 Oct 2001 15:44:01 -0400
Message-ID: <21845.1002311041@sss.pgh.pa.us> (raw)
In-Reply-To: <3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.com>
References: <3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.com>

"Mikheev, Vadim" <vmikheev@SECTORBASE.COM> writes:
>> Looks fishy to me too --- the offset shouldn't exceed 24 bits AFAIR.

> Log record ptr is 4 bytes for log file ID and 4 bytes for record offset.
> # of segmets in log file (2^32 - 1) / 2^24 = 255
> Max offset *in segment* is 2^24 , but max offset *in log file*
> is 255 * 2^24 = 4278190080

You're right, I'm wrong, it's a false alarm.  Sorry for the noise.

			regards, tom lane



view thread (5+ messages)

Message-ID: <21845.1002311041@sss.pgh.pa.us>
Permalink:  ../21845.1002311041@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21845.1002311041@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vmikheev@SECTORBASE.COM, jboes@nexcerpt.com
  Subject: Re: Redo record at high number
  In-Reply-To: <21845.1002311041@sss.pgh.pa.us>
  References: <3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.com> <21845.1002311041@sss.pgh.pa.us>

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

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