Denis Perchine <[EMAIL PROTECTED]> writes:
> And you use PIPE, but I use sockets. If I just do psql -d db, all is
> as you've said, but if I do psql -d db -h localhost the pictures is as
> following:

Works the same for me with either pipe or socket connection.  I think
something must be broken on your platform --- what platform are you
using, anyway?

> db=> select count(*) from pg_class;
> pqReadData() --  read() failed: errno=32
> Оборванный канал

The two obvious questions about this are (a) what is errno 32 on
your system and (b) why is your strerror() yielding garbage instead
of an appropriate error message?

On my system errno 32 is EPIPE, but surely read() should never
return EPIPE.

                        regards, tom lane

Reply via email to