Received: from bo-peep.goldendome.com (bo-peep.goldendome.com [208.47.37.3]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eA9Gc8s60658; Thu, 9 Nov 2000 11:38:08 -0500 (EST) (envelope-from mike@goldendome.com) Received: from achilleus (gdm42 [208.47.37.42]) by bo-peep.goldendome.com (8.8.8/8.8.6/PIH) with SMTP id LAA03399; Thu, 9 Nov 2000 11:34:36 -0500 (EST) Message-ID: <00ce01c04a6b$880503c0$2a252fd0@goldendome.com> Reply-To: "mike focosi" From: "mike focosi" To: Subject: Table Corruption Date: Thu, 9 Nov 2000 11:38:39 -0500 Organization: golden dome interactive MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Archive-Number: 200011/60 X-Sequence-Number: 69 I have several php scripts that allow my clients to add stories to a database. I've noticed that once in a while, when they attempt to insert/update more than 8k into a table, the table is becoming corrupted. When a select is done on the table, the database hangs. When this happens to one table in one database, it brings down the whole postgreSQL server backend. Not good. I've created a database with the same scheme/data and have only been able to recreate the problem once. Can't seem to do it everytime. PostgreSQL usually gives the "PQsendQuery() -- query is too long..." error and just doesn't follow thru with the query which is fine. I can deal with limiting my clients to less than 8k stories. But sometimes the table gets corrupted by a query that shouldn't be executed (ie: stopped at the too long warning). Has anybody ever had any problems like the one I described. I've yet to upgrade our database servers to 7+ (running 6.4) so I'm hoping maybe that would solve the problem. But I'd like to know what the exact problem is. thanks -mike mike focosi senior applications developer golden dome media http://www.goldendomemedia.com http://www.surfmichiana.com http://www.wndu.com