Re: ODBC driver further developments?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: md-postgres-donath(at)netapps(dot)de, pgsql-odbc(at)postgresql(dot)org, Hartmut Raschick <hartmut(dot)raschick(at)ke-elektronik(dot)de>, "Cyrille Ch?p?lov" <cyrille(at)softek(dot)fr>, Ludek Finstrle <ludek(dot)finstrle(at)pzkagis(dot)cz>
Subject: Re: ODBC driver further developments?
Date: 2004-04-09 19:24:27
Message-ID: 200404091924.i39JORq16828@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Dave Page wrote:
> Thanks Bruce - there are basically three patches in there:
>
> 1) From Hartmut Raschick
>
> ----
> - EINTR safety for send/recv, NOT4WIN
> - init vars before using them (most prominently in
> dlg_specific.c::SQLGetPrivateProfileString calls),
> - avoid those notorious core dumps when logging on hitting
> "null" data... in result.c
> - make 07.03.200 work with the new mutex_locks
> - may use -DHAVE_ECO_THREAD_LOCKS, if you use libiodbc (or similar)
> which already shells every driver call in mutex_locks
> - using the driver (in conjunction w/libiodbc) on Solaris in a
> threaded environment (thus --enable-pthreads) we also found that
> -DHAVE_LOCALTIME_R is a good idea, also configure does not auto-
> link libsocket which is needed anyway... (mind libnsl when not
> threaded)
> ----
>
> Unfortunately this patch was submitted as updated source files and I've
> been completely unsuccessful in reworking them into a patch that is a)
> reviewable, and b) able to be applied to cvs tip. This is probably my
> cvs/diff inexperience showing through, but whenever I diff the updated
> 07.03.0200 source against the original, I end up with a 1/2 meg file
> containing basically all of each file affected, before and after. I'd
> appreciate it if someone else can have a look and see if it is just me
> doing something stupid (other than using Windows!), or if you can supply
> a diff against CVS tip Hartmut, that'd be great.

I am working on getting you a patch now, Dave.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message scott.marlowe 2004-04-09 20:25:46 Re: @@IDENTITY (Was: Access - ODBC - serial problem)
Previous Message Dave Page 2004-04-09 19:22:57 Re: @@IDENTITY (Was: Access - ODBC - serial problem)