| From: | Gregory Stark <stark(at)enterprisedb(dot)com> |
|---|---|
| To: | "Sergey E(dot) Koposov" <math(at)sai(dot)msu(dot)ru> |
| Cc: | <pgsql-hackers(at)postgresql(dot)org>, "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su> |
| Subject: | Re: failed assertion in toasting code |
| Date: | 2008-02-20 11:04:51 |
| Message-ID: | 873arnyjl8.fsf@oxford.xeocode.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Sergey E. Koposov" <math(at)sai(dot)msu(dot)ru> writes:
> In the process of converting a multi-Tb datadabe from 8.2 to 8.3, Postgres 8.3
> died at the failed assertion:
>
> TRAP: FailedAssertion("!(((toast_pointer).va_extsize < (toast_pointer).va_rawsize - ((int32) sizeof(int32))))", File: "tuptoaster.c", Line: 1134)
...
> Does anyone have ideas what could be the reason for the bug ?
What the assert is saying is that the datum it's trying to toast is compressed
but the compressed version is larger than the original -- which shouldn't ever
happen because we don't store such data compressed.
I haven't quite figured out where the error is yet though.
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Teodor Sigaev | 2008-02-20 11:06:00 | Re: failed assertion in toasting code |
| Previous Message | Sergey E. Koposov | 2008-02-20 10:39:13 | failed assertion in toasting code |