Re: BUG #6200: standby bad memory allocations on SELECT - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6200: standby bad memory allocations on SELECT
Date
Msg-id 23817.1328130387@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #6200: standby bad memory allocations on SELECT  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: BUG #6200: standby bad memory allocations on SELECT
List pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
>>> No, I wasn't thinking about a tuple descriptor mismatch.  I was
>>> imagining that the page contents themselves might be in flux while
>>> we're trying to read from it.

> It would be nice to get a dump of what PostgreSQL thought the entire
> block looked like at the time the crash happened.  That information is
> presumably already in the core dump, but I'm not sure if there's a
> nice way to extract it using gdb.

It probably would be possible to get the page out of the dump, but
I'd be really surprised if that proved much.  By the time the
crash-dump-making code gets around to examining the shared memory, the
other process that's hypothetically changing the page will have done its
work and moved on.  A crash in process X doesn't freeze execution in
process Y, at least not in any Unixoid system I've ever heard of.

            regards, tom lane

pgsql-bugs by date:

Previous
From: keith@omniti.com
Date:
Subject: BUG #6428: pg_restore -l not consistent with function comments
Next
From: Duncan Rance
Date:
Subject: Re: BUG #6425: Bus error in slot_deform_tuple