Thread: production error

production error

From
"Mark Steben"
Date:

Hi folks, getting this error in production:

 

unexpected chunk number 0 (expected 1) for toast value 34761

 

Any ideas on how to approach this?

 

Two of the tables in the query have toast tables, one does not.

 

Thanks,

 

Mark Steben

Senior Database Administrator
@utoRevenue™
A Dominion Enterprises Company
480 Pleasant Street
Suite B200
Lee, MA 01238
413-243-4800 Home Office 
413-243-4809 Corporate Fax

msteben@autorevenue.com

Visit our new website at
www.autorevenue.com

 

IMPORTANT: The information contained in this e-mail message is confidential and is intended only for the named addressee(s). If the reader of this e-mail message is not the intended recipient (or the individual responsible for the delivery of this e-mail message to the intended recipient), please be advised that any re-use, dissemination, distribution or copying of this e-mail message is prohibited.  If you have received this e-mail message in error, please reply to the sender that you have received this e-mail message in error and then delete it.  Thank you.

Come Visit Us at NADA!  Booth #5735N
February 9th - February 12th
Moscone Center in San Francisco, CA

 

Re: production error

From
Tom Lane
Date:
"Mark Steben" <msteben@autorevenue.com> writes:
> Hi folks, getting this error in production:
> unexpected chunk number 0 (expected 1) for toast value 34761

What PG version is that?

It looks like it might be an index-corruption issue, in which case
reindexing the toast table might help.

            regards, tom lane