pqReadData() error

From: Dipankar Chakrabarti <dipanc(at)yahoo(dot)com>
To: pgsql-sql(at)hub(dot)org
Subject: pqReadData() error
Date: 1999-11-25 12:23:45
Message-ID: 19991125122345.9506.rocketmail@web114.yahoomail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

I am creating functions from saved in text files on
PostgreSQL 6.5 on linux by
$ psql mydb2 <myfunc.txt

If the function is large ( more than say 50 lines) or
I am creating small functions in series ( like
myfunc1, myfunc2, myfunc3),
suddenly I am getting the following error:
----------------------------------------------
pqReadData() -- backend closed the channel
unexpectedly.
This probably means the backend terminated
abnormally
before or while processing the request.
We have lost the connection to the backend, so further
processing is impossible.
Terminating.
---------------------------------------------------

After exiting from telnet session and re-entering, I
may create the function again.

I am baffled by this odd behaviour.
Could any body help me with some suggestions?

Regards,

Dipankar Chakrabarti
Senior Manager (Projects)
Mindteck (I) Ltd.

__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 1999-11-25 12:37:11 Re: [SQL] pqReadData() error
Previous Message Szucs Laszlo 1999-11-25 12:21:10 very slow connection