From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Phil Hildebrand <phil.hildebrand@moz.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15570: Vacuum analyze ERROR: MultiXactId XXXX has not been created yet -- apparent wraparound
Date: Tue, 01 Jan 2019 06:56:58 +0000
Message-ID: <87muoksx17.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CAKk9fdW7=dUV0LgdqpuA5npWhZCK3Wu1mK8dZsixcyT6U07ybQ@mail.gmail.com>
References: <15570-d920421b445027cc@postgresql.org>
<201901010043.hecfwnmygqlh@alvherre.pgsql>
<CAKk9fdW7=dUV0LgdqpuA5npWhZCK3Wu1mK8dZsixcyT6U07ybQ@mail.gmail.com>
>>>>> "Phil" == Phil Hildebrand <phil.hildebrand@moz.com> writes:
Phil> Sure - beacon=# select lp, lp_flags, t_xmin, t_xmax, t_field3,
Phil> t_ctid, beacon-# to_hex(t_infomask) as infomask,
Phil> to_hex(t_infomask2) as infomask2 beacon-# from
Phil> heap_page_items(get_raw_page('reviews_2018', 382604)) h;
This data page has obviously been partially overwritten by unrelated
data. (Notice that many of those numbers in the output correspond to
printable ASCII strings.)
A hexdump of the raw page will probably make it easy to see which part
is corrupt and what the offending data is. Something like this is
probably the easiest way to get it (adding any other required psql
options of course):
psql -d beacon -AXqt -c "select get_raw_page('reviews_2018', 382604)" |
perl -ne '/\\x([[:xdigit:]]+)/ and print pack("H*",$1)' |
hexdump -C
Assuming that doesn't reveal any sensitive data, can you send the output
of that?
--
Andrew (irc:RhodiumToad)
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-bugs@postgresql.org
Cc: andrew@tao11.riddles.org.uk, phil.hildebrand@moz.com, alvherre@2ndquadrant.com
Subject: Re: BUG #15570: Vacuum analyze ERROR: MultiXactId XXXX has not been created yet -- apparent wraparound
In-Reply-To: <87muoksx17.fsf@news-spur.riddles.org.uk>
References: <15570-d920421b445027cc@postgresql.org> <201901010043.hecfwnmygqlh@alvherre.pgsql> <CAKk9fdW7=dUV0LgdqpuA5npWhZCK3Wu1mK8dZsixcyT6U07ybQ@mail.gmail.com> <87muoksx17.fsf@news-spur.riddles.org.uk>
* 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