Re: libpq error codes
От | Tom Lane |
---|---|
Тема | Re: libpq error codes |
Дата | |
Msg-id | 7623.961654530@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: libpq error codes (Denis Perchine <dyp@perchine.com>) |
Ответы |
Re: libpq error codes
|
Список | pgsql-general |
Denis Perchine <dyp@perchine.com> 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
В списке pgsql-general по дате отправления: