Charles <charles@a3a.com.br> writes:
> when i start a select sql in my postgres db, its return
> a message:
> pqReadData() -- backend closed the channel unexpectedly..
Can't help you without seeing the exact command, and the schema
declarations for the tables it uses.
Also, which PG version are you using? (If it's less than 7.1,
the answer is probably going to be "time to update".)
regards, tom lane