Re: [GENERAL] libpq error codes

2000-06-21 Thread Tom Lane
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

Re: [GENERAL] libpq error codes

2000-06-21 Thread Denis Perchine
> > If I shutdown postgres between queries I get: > > > query: 1024: 'select count(*) from pg_class' > > ResStatus: PGRES_FATAL_ERROR > > Status: 0 > > except: pqReadData() -- read() failed: errno=32 > > ïÂÏÒ×ÁÎÎÙÊ ËÁÎÁÌ > > What version are you running, and are you sure you are using libpq > c

Re: [GENERAL] libpq error codes

2000-06-21 Thread Tom Lane
Denis Perchine <[EMAIL PROTECTED]> writes: > If I shutdown postgres between queries I get: > query: 1024: 'select count(*) from pg_class' > ResStatus: PGRES_FATAL_ERROR > Status: 0 > except: pqReadData() -- read() failed: errno=32 > ïÂÏÒ×ÁÎÎÙÊ ËÁÎÁÌ What version are you running, and are you sur

[GENERAL] libpq error codes

2000-06-20 Thread Denis Perchine
Hello all, I try to add automatical connection restoring possibility to my app. And I have the following problem: When I execute query I have: query: 1024: 'select count(*) from pg_class' ResStatus: PGRES_TUPLES_OK Status: 0 ResStatus is the result of PQresultStatus, Status is the result of PQ