I have PHP 4.06,  PostgreSQL 7.1.2 on sparc-sun-solaris2.7, compiled 
by GCC 2.8.1, and Apache on a Solaris server.  Most of the time all 
works as expected.  Occasionally I get an database error:

Database error
There was a database error when accessing Database zwg:
pqReadData() -- backend closed the channel unexpectedly. This probably
means the backend terminated abnormally before or while processing the
request.
(while evaluating: SELECT serializedobject FROM objects WHERE name='Zurich')

[This error page is generated by my application; it displays the 
error reported by PostgreSQL and the SQL that caused the error]. 
serializedobject is a VARCHAR(10000).  The table consists of just one 
row at the moment.  The query should always succeed (since that row 
has its name field equal to Zurich).

The error is not caused by my SQL syntax, since this same code 
executes without a problem at other times.   I don't know why I 
sometimes get this error, while most of the time it works fine.

How do I start tracking down the cause?  What circumstances should I 
be looking at to see what triggers it?

Nigel Gilbert



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to