From: | "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "PostgreSQL-development" <pgsql-hackers(at)postgreSQL(dot)org> |
Cc: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, "PostgreSQL odbc list" <pgsql-odbc(at)postgreSQL(dot)org>, "PostgreSQL-patches" <pgsql-patches(at)postgreSQL(dot)org> |
Subject: | RE: [ODBC] RE: [PATCHES] Fix for ODBC close |
Date: | 2001-02-11 13:10:56 |
Message-ID: | EKEJJICOHDIEMGPNIFIJEEBLDJAA.Inoue@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-odbc pgsql-patches |
> -----Original Message-----
> From: Bruce Momjian
>
> OK, I have a pretty good guess about the cause of the ODBC shutdown
> failure message in the server logs. Sending 'X' is still causing the
> error message.
>
> The error you are seeing is from the backend libpq code, the area that
> communicates with clients.
>
> while ODBC closes with:
>
> SOCK_put_char(self, 'X');
> SOCK_flush_output(self);
>
Probably you have to put above code before calling
shutdown() not after. shutdown(sock, 2) disables
both sends and receives on the socket.
Regards,
Hiroshi Inoue
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2001-02-11 13:11:46 | RE: ODBC backward versions |
Previous Message | Peter Eisentraut | 2001-02-11 11:11:56 | Re: pgAccess fails to launch on HPUX |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-02-11 13:17:13 | Re: [ODBC] RE: [PATCHES] Fix for ODBC close |
Previous Message | Bruce Momjian | 2001-02-11 06:30:57 | Re: [ODBC] RE: [PATCHES] Fix for ODBC close |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-02-11 13:17:13 | Re: [ODBC] RE: [PATCHES] Fix for ODBC close |
Previous Message | Bruce Momjian | 2001-02-11 06:30:57 | Re: [ODBC] RE: [PATCHES] Fix for ODBC close |