Skip site navigation (1) Skip section navigation (2)

Mac OS X problem

From: Jim Dickenson <dickenson(at)cfmc(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Cc: liyanage(at)access(dot)ch
Subject: Mac OS X problem
Date: 2001-10-19 20:01:38
Message-ID: (view raw or whole thread)
Lists: 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 
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

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 

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

Computers for Marketing Corporation

eFax: 1-419-791-8924

pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2001-10-19 21:13:09
Subject: Re: -2147217842 Operation was canceled
Previous:From: Ryan C. BonhamDate: 2001-10-19 18:51:59
Subject: Re: -2147217842 Operation was canceled

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group