Toon posts:

postgresql error

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hallo ik krijg nu ineens deze foutmelding:

Warning: PostgreSQL query failed: ERROR: cannot read block 4 of pg_class_oid_index:

Input/output error in /var/www/html/root/delViews.php on line 20



Terwijl ik er nog nooit problemen mee heb gehad, ik weet maar niet wat er fout aan is. Kan iemand mij helpen aub?
Dit staat er in het php bestand:



$dbconn = pg_connect("host=$host user=$user dbname=$db");

$sql_destroy = "DROP VIEW andl0;";

for($i = 1; $i < 115; $i++)
{
$sql_destroy .= " DROP VIEW andl".($i).";";
}
print($k);
print($sql_destroy);
pg_exec ($dbconn, $sql_destroy);

  • chem
  • Registratie: Oktober 2000
  • Laatst online: 27-08 13:53

chem

Reist de wereld rond

wat zegt postgresql's manual hierover?

Klaar voor een nieuwe uitdaging.


  • thomaske
  • Registratie: Juni 2000
  • Laatst online: 09-09 14:51

thomaske

» » » » » »

krijg je deze foutmelding bij nog meer indexen?

als je de database zelf beheert, zou je vacuumdb kunnen proberen..


[MAAR]
Ik ben geen postgresql goeroe.. ;)
[/MAAR]

Brusselmans: "Continuïteit bestaat niet, tenzij in zinloze vorm. Iets wat continu is, is obsessief, dus ziekelijk, dus oninteressant, dus zinloos."