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

Re: [ODBC] RE: [PATCHES] Fix for ODBC close

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: PostgreSQL odbc list <pgsql-odbc(at)postgresql(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [ODBC] RE: [PATCHES] Fix for ODBC close
Date: 2001-02-10 23:35:50
Message-ID: 200102102335.SAA20267@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-odbcpgsql-patches
OK, I have ifdef'ed out the sending of the 'X' parameter.  I will see if
placing it somewhere else will help.  Could it have to do with the fact
we are in a transaction in ODBC?  My guess is that the X is returning
data that is triggering the error.

[ Charset ISO-8859-1 unsupported, converting... ]
> 
> 
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> > Sent: 10 February 2001 05:46
> > To: PostgreSQL odbc list; PostgreSQL-patches
> > Cc: PostgreSQL-development
> > Subject: [PATCHES] Fix for ODBC close
> > 
> > 
> > I have applied the following patch to properly exit ODBC. 
> 
> <Snip>
> 
> I just compiled from the current cvs under win32 and I still get
> 'pq_recvbuf: unexpected EOF on client connection' when exiting apps using
> the ODBC driver. I have tested with pgAdmin which uses ADO (ActiveX Data
> Objects) and certainly closes the ADO connection object on exit, as well as
> a simple test app using DAO (Data Access Objects). I did have a go at fixing
> this myself when Bruce first mentioned it, and had exactly the same results
> with similar code :-(
> 
> Regards, 
> 
> Dave.
> 


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-hackers by date

Next:From: Patrick DunfordDate: 2001-02-11 01:59:23
Subject: ODBC driver issue in MS Access
Previous:From: Bruce MomjianDate: 2001-02-10 23:34:20
Subject: Re: New setval() call

pgsql-odbc by date

Next:From: Bruce MomjianDate: 2001-02-11 02:01:30
Subject: Re: [PATCHES] Minor ODBC Patch
Previous:From: Dave PageDate: 2001-02-10 23:15:18
Subject: RE: [PATCHES] Fix for ODBC close

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-02-11 02:01:30
Subject: Re: [PATCHES] Minor ODBC Patch
Previous:From: Dave PageDate: 2001-02-10 23:15:18
Subject: RE: [PATCHES] Fix for ODBC close

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