Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

350
Vistas
Is it possible to change the chunk sequence in a TOAST table in postgresql

I have a table in a postgresql database (version 9.6) which stores pdf documents. When I try to vacuum this table the following error message comes up:

unexpected chunk number 57 (expected 25) for toast value 1047226 in pg_toast_1027390

If I look into the toast table itself I can see, that the chunk number is incorrect, but is there any way to correct it? Or is there a way to identify the TOAST pointer in the normal relation to identify which pdf document is affected?

What I did so far is to reindex and to vacuum the associated toast table which both succeeded. Vacuuming of the normal relation failed. I also tried to export and import all data into a new database with no success. The error in the toast table remains. A pg_dump also fails.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda