X-Original-To: pgsql-odbc@postgresql.org Received: from mailhost.humph.com (mailhost.humph.com [193.112.138.73]) by postgresql.org (Postfix) with ESMTP id AAC9A475FC8 for ; Wed, 19 Mar 2003 16:35:41 -0500 (EST) Received: from pc3-cmbg2-5-cust150.cmbg.cable.ntl.com ([80.4.125.150] helo=[10.0.1.18]) by mailhost.humph.com with asmtp (TLSv1:RC4-SHA:128) (Exim 4.12) id HC0MNI-0007NF-00; Wed, 19 Mar 2003 21:35:42 +0000 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Wed, 19 Mar 2003 21:35:33 +0000 To: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) From: Giuliano Gavazzi Subject: Re: .ini parsing Cc: pgsql-odbc@postgresql.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Archive-Number: 200303/29 X-Sequence-Number: 2748 At 22:03 +0100 2003/03/19, (Michael Sperber [Mr. Pre wrote: > >>>>> "Giuliano" == Giuliano Gavazzi <> writes: >Giuliano> strange. I use iODBC and it is fine with the spaces. >Besides, are you >Giuliano> sure the odbc.ini is read by the driver and not by the iodbc driver >Giuliano> manager? You see, with the old version of iODBC on MacOSX the .ini >Giuliano> files were actually named differently and had a different location, >Giuliano> either the driver manager was passing the file location to >the driver, >Giuliano> or, as I said above, the files were read by the iODBC driver manager >Giuliano> indeed. >Giuliano> Maybe this is a bug with the version of iODBC you are using. > >No; iODBC parses the .ini file just fine, with spaces. It's the >psqlodbc driver that doesn't. (I'll be glad to provide details, but >I've actually debugged and read the code in question to figure this >out. It's pretty obvious from looking at the code.) > It might be obvious, but then can you tell me why I haven't got any problems here? One thing I forgot to say is that I haven't got any Port = 5432 parameter line. Giuliano