X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BF91155CF9 for ; Thu, 24 Feb 2005 11:48:15 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94572-02 for ; Thu, 24 Feb 2005 11:48:05 +0000 (GMT) Received: from anchor-post-36.mail.demon.net (anchor-post-36.mail.demon.net [194.217.242.86]) by svr1.postgresql.org (Postfix) with ESMTP id E7049555EF for ; Thu, 24 Feb 2005 11:48:04 +0000 (GMT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-36.mail.demon.net with esmtp (Exim 4.42) id 1D4HTT-0003HB-MT; Thu, 24 Feb 2005 11:48:11 +0000 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 1553316591; Thu, 24 Feb 2005 11:47:54 +0000 (GMT) Message-ID: <421DBEEA.9090200@archonet.com> Date: Thu, 24 Feb 2005 11:47:54 +0000 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: lothar.behrens@lollisoft.de Cc: "Pgsql-Odbc@Postgresql.Org" Subject: Re: (Fwd) SQLSetPos problem under Linux References: <421D80B6.17135.23D327@localhost> In-Reply-To: <421D80B6.17135.23D327@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.063 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200502/114 X-Sequence-Number: 5004 lothar.behrens@lollisoft.de wrote: > Hi, > > is there really no answer for me ? I'm not sure the question was clear. > I have the following problem under Linux: > > I use SQLSetpos to update data at current cursor position with SQL_UPDATE. > I get back an error message, that only SQL_POSITION/REFRESH is supported. > Does this limitation come from your ODBC driver or is it limited by unixODBC ? > Or, how must I activate these functionality while building it from sources ? > With your windows ODBC driver (version 7.3.200), I do not have these problems. So - "SQLSetpos+SQL_UPDATE" works with the ODBC driver under Windows. It doesn't work under unixODBC on Suse 9.1 Well, the ODBC driver is presumably the same - AFAIK the same code builds Windows and Unix versions. This suggests the problem lies elsewhere. Are you sure the SQL being executed is the same in both cases? Try turning on statement logging in PostgreSQL and check. -- Richard Huxton Archonet Ltd