X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id EC4AB475D3B for ; Sat, 22 Mar 2003 09:59:41 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id E1407474E4F for ; Sat, 22 Mar 2003 09:59:40 -0500 (EST) Received: (qmail 26918 invoked from network); 22 Mar 2003 14:59:43 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 22 Mar 2003 14:59:43 -0000 Received: from unknown (HELO PbgX) (219.61.40.14) by sd.tpf.co.jp with SMTP; 22 Mar 2003 14:59:43 -0000 From: "Hiroshi Inoue" To: "'Michael Sperber [Mr. Preprocessor]'" , "'Giuliano Gavazzi'" Cc: Subject: Re: .ini parsing Date: Sat, 22 Mar 2003 23:59:28 +0900 Message-ID: <008b01c2f083$a4922b60$0e283ddb@PbgX> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Status: No, hits=-6.5 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT autolearn=ham version=2.50-cvs X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50-cvs (1.172-2003-02-14-exp) X-Archive-Number: 200303/53 X-Sequence-Number: 2772 > -----Original Message----- > From: Michael Sperber [Mr. Preprocessor] > [snip] > 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.) Please build the driver --with-iodbc option if you use the driver with iodbc. GetPrivateProfileString() in gpps.c isn't used with the option. regards, Hiroshi Inoue