Mac OS X problem - Mailing list pgsql-odbc

From Jim Dickenson
Subject Mac OS X problem
Date
Msg-id 1B6DB62C-C4CC-11D5-BDD4-0005020E6141@cfmc.com
Whole thread Raw
List pgsql-odbc
I am getting the following error:
Program received signal SIGPIPE, Broken pipe.
0x70012ec8 in sendto ()
when I call SQLDisconnect with a connection handle for a connection I
have connected to.

Here is info from gdb for the connect:
SQLConnect (connection_handle=0x760890, server_name=0xbfffcbe8
"psqltest", name_length1=-3, user_name=0x0, name_length2=-3,
authentication=0xbfffcb60 "xxxxxx", name_length3=-3) at SQLConnect.c:2280

Here is the disconnect:
Breakpoint 3, SQLDisconnect (connection_handle=0x760890) at
SQLDisconnect.c:148
148     SQLDisconnect.c: No such file or directory.
         in SQLDisconnect.c
(gdb) n
159     in SQLDisconnect.c
(gdb) n
161     in SQLDisconnect.c
(gdb) n
174     in SQLDisconnect.c
(gdb) n
180     in SQLDisconnect.c
(gdb) n
196     in SQLDisconnect.c
(gdb) n
217     in SQLDisconnect.c
(gdb) n
241     in SQLDisconnect.c
(gdb) n
269     in SQLDisconnect.c
(gdb) n
286     in SQLDisconnect.c
(gdb) n

Program received signal SIGPIPE, Broken pipe.
0x70012ec8 in sendto ()

I installed the server from pgsql-7.1.3-10.1.pkg.tar.gz at
http://www.entropy.ch/software/macosx/postgresql/

I am using the ODBC driver created when I compiled unixODBC-2.0.10.
If I try to use the ODBC driver in the pgsql install I can not make a
connection.

I am able to retrieve data so I know the connection was opened.

Any pointers on how to resolve this would be appreciated.

Jim Dickenson
mailto:dickenson@cfmc.com

Computers for Marketing Corporation
http://www.cfmc.com/

eFax: 1-419-791-8924


pgsql-odbc by date:

Previous
From: "Ryan C. Bonham"
Date:
Subject: Re: -2147217842 Operation was canceled
Next
From: "Hiroshi Inoue"
Date:
Subject: Re: -2147217842 Operation was canceled