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 16270474E4F for ; Wed, 19 Mar 2003 14:14:15 -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 HC0G3Q-0007FQ-00; Wed, 19 Mar 2003 19:14:14 +0000 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Wed, 19 Mar 2003 18:52:35 +0000 To: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]), pgsql-odbc@postgresql.org From: Giuliano Gavazzi Subject: Re: .ini parsing Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Archive-Number: 200303/50 X-Sequence-Number: 2769 At 16:35 +0100 2003/03/19, sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Pre wrote: >Psqlodbc 7.2.5 isn't able to parse the .ini files produced by common >.ini files creation programs, such as that shipped with iODBC. The >reason is that it cannot deal with spaces before the "=" signs. So, > >Port= 5432 > >is OK, but > >Port = 5432 > >is not. I think it would save a lot of confusion if this were fixed >or at least a FAQ would talk about it. strange. I use iODBC and it is fine with the spaces. Besides, are you sure the odbc.ini is read by the driver and not by the iodbc driver manager? You see, with the old version of iODBC on MacOSX the .ini files were actually named differently and had a different location, either the driver manager was passing the file location to the driver, or, as I said above, the files were read by the iODBC driver manager indeed. Maybe this is a bug with the version of iODBC you are using. Giuliano -- H U M P H || ||| software Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X http://www.humph.com/