X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 204FE9DC9C3 for ; Fri, 17 Feb 2006 11:41:08 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 56282-09 for ; Fri, 17 Feb 2006 11:41:12 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.192]) by postgresql.org (Postfix) with ESMTP id AEFBC9DC99B for ; Fri, 17 Feb 2006 11:41:05 -0400 (AST) Received: by nproxy.gmail.com with SMTP id a25so294396nfc for ; Fri, 17 Feb 2006 07:41:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AtGO9GuhTGg6Lx9PBo88IN7WdRpnRIXlvTGR4Gk0xXFy9C7e+JR6xK0HmrpIeRuKLBW3uGt5uza2o3hW7BcnRzfGy7+0bBXBZO5zAjY3WAQgZ3i6DfMgbHrkpJVwuqKu0sx8rQj1tOO/HwOuOVFfucDAu0yOkgeNV7xdG+tSxtE= Received: by 10.48.49.13 with SMTP id w13mr456475nfw; Fri, 17 Feb 2006 07:41:07 -0800 (PST) Received: by 10.48.210.16 with HTTP; Fri, 17 Feb 2006 07:41:07 -0800 (PST) Message-ID: Date: Fri, 17 Feb 2006 09:41:07 -0600 From: "Michael Shulman" To: "Ludek Finstrle" Subject: Re: psqlODBC generating incorrect SQL? Cc: pgsql-odbc@postgresql.org In-Reply-To: <20060217115355.GA25896@soptik.pzkagis.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060217115355.GA25896@soptik.pzkagis.cz> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200602/86 X-Sequence-Number: 7215 On 2/17/06, Ludek Finstrle wrote: > Are you both using same psqlODBC driver (version ant type - ANSI vs. > Unicode)? That was it! She had it set to ANSI and mine (and the database) is Unicode. Changing hers to unicode fixes it. Thanks! It would be nice if the driver could give a more informative error message if this happens, though. I never would have guessed that would cause a problem like this. Best, Mike