Re: [HACKERS] pqReadData() - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] pqReadData()
Date
Msg-id 199807191835.OAA03445@candle.pha.pa.us
Whole thread Raw
In response to pqReadData()  (Egon Schmid <eschmid@delos.stuttgart.netsurf.de>)
List pgsql-hackers
> Hi Bruce, last Sunday you helped me with libpq.so.1.  Now I'm in trouble
> to start psql.  I think that all is clean, but I get allways the same
> error message when starting psql.  The whole week I can only see this:
>
> marliesle$ ps ax | grep post
>  3140  p1 S      0:00 postmaster -d 3 -i
>  6623  p1 S      0:00 grep post
> marliesle$ kill 3140
> marliesle$ postmaster -i &
> [1] 6624
> marliesle$ psql verlag
> Connection to database 'verlag' failed.
> pqReadData() -- backend closed the channel unexpectedly.
>     This probably means the backend terminated abnormally before or
> while processing the request.
> marliesle$


Run the postmaster as:

    nohup postmaster -i >log 2>&1 &

and check the log file after the failure.  You may also need to rerun
initdb because the source tree is changing so much.

>
> A etags search points me to src/interfaces/libpq/fe-misc.c. I am using the
> latest CVS. I hope someone will introduce cvsweb so I can see any changes
> to the source tree.
>
> -Egon
>
>
>
>
>


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Removal of recipe/tioga/Tee node
Next
From: Bruce Momjian
Date:
Subject: Re: full text indexing for PostgreSQL