X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E92FDD1D078 for ; Sat, 10 Apr 2004 18:32:38 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 24253-04 for ; Sat, 10 Apr 2004 18:32:39 -0300 (ADT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 877A4D1B4BE for ; Sat, 10 Apr 2004 18:32:36 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i3ALWb024761; Sat, 10 Apr 2004 17:32:37 -0400 (EDT) From: Bruce Momjian Message-Id: <200404102132.i3ALWb024761@candle.pha.pa.us> Subject: Re: fixes for psqlodbc-07.03.200, patch In-Reply-To: <03AF4E498C591348A42FC93DEA9661B889FA38@mail.vale-housing.co.uk> To: Dave Page Date: Sat, 10 Apr 2004 17:32:37 -0400 (EDT) Cc: pgsql-odbc@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/86 X-Sequence-Number: 3981 Dave Page wrote: > From: Bruce Momjian > > Here are my updates/fixes for version 07.03.200. > > Details: > > - 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) > > Ack! After checking this and massaging it onto CVS tip, it seems that > Hiroshi already applied it on December 9th last year... > > Thanks anyway Bruce. > No problem. Sorry I missed Hiroshi's apply. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073