Re: First-draft release notes for next week's releases - Mailing list pgsql-hackers

From Tom Lane
Subject Re: First-draft release notes for next week's releases
Date
Msg-id 17038.1395070125@sss.pgh.pa.us
Whole thread Raw
In response to Re: First-draft release notes for next week's releases  (Greg Stark <stark@mit.edu>)
Responses Re: First-draft release notes for next week's releases  (Andres Freund <andres@2ndquadrant.com>)
Re: First-draft release notes for next week's releases  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> This is not really accurate:
> "This error allowed multiple versions of the same row to become
> visible to queries, resulting in apparent duplicates. Since the error
> is in WAL replay, it would only manifest during crash recovery or on
> standby servers."

> I think the idea is coming from what the second sentence below is
> getting at but it may be too complex to explain in a release note:

> The error causes some rows to disappear from indexes resulting in
> inconsistent query results on a hot standby depending on whether
> indexes are used. If the standby is subsequently activated or if it
> occurs during recovery after a crash or backup restore it could result
> in unique constraint violations as well.

Hm ... "rows disappearing from indexes" might make people think that
they could fix or mitigate the damage via REINDEX.  That's not really
true though is it?  It looks to me like IndexBuildHeapScan will suffer
an Assert failure in an assert-enabled build, or build a bogus index
if not assert-enabled, when it comes across a "heap-only" tuple that
has no parent.

I'm thinking we'd better promote that Assert to a normal runtime elog.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: HEAD seems to generate larger WAL regarding GIN index
Next
From: Tom Lane
Date:
Subject: Re: on_exit_reset fails to clear DSM-related exit actions