Re: BUG #16638: Some tables in the database cannot be opened - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16638: Some tables in the database cannot be opened
Date
Msg-id 110050.1601219161@sss.pgh.pa.us
Whole thread Raw
In response to BUG #16638: Some tables in the database cannot be opened  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> The following bug has been logged on the website:
> Bug reference:      16638
> Logged by:          雷 赵
> Email address:      15103271955@163.com
> PostgreSQL version: 9.6.12
> Operating system:   Ubuntu
> Description:        

> [GENERAL] ERROR: unexpected chunk number 0 (expected 1) for toast value
> 76753264 in pg_toast_10920100

This symptom matches an old bug that was fixed in PG 9.6.9.  So

(1) Are you quite sure your server is running 9.6.12, and not some
older minor release?  Check "SELECT version()" to be certain.

(2) According to the release note about it, any pre-existing
corruption of this sort could be repaired by vacuuming affected
tables. So maybe you just need to do that.

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16638: Some tables in the database cannot be opened
Next
From: David Rowley
Date:
Subject: Re: BUG #16627: union all with partioned table yields random aggregate results