X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id AA788D1DF8E for ; Tue, 13 Apr 2004 05:27:41 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 91369-05 for ; Tue, 13 Apr 2004 05:27:40 -0300 (ADT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by svr1.postgresql.org (Postfix) with ESMTP id 60758D1DF87 for ; Tue, 13 Apr 2004 05:27:38 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 1BDJGc-000Jyq-0U; Tue, 13 Apr 2004 09:27:38 +0100 Received: by mainbox.archonet.com (Postfix, from userid 529) id 359FB1622E; Tue, 13 Apr 2004 09:27:37 +0100 (BST) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 45F2316219; Tue, 13 Apr 2004 09:27:33 +0100 (BST) From: Richard Huxton To: "Lothar Behrens" Subject: Re: (Fwd) Problems with my code under linux ?? Date: Tue, 13 Apr 2004 09:27:32 +0100 User-Agent: KMail/1.5 References: <200404072025.i37KP1j21438@jedi.behrens.de> <200404122114.i3CLEIj09823@jedi.behrens.de> In-Reply-To: <200404122114.i3CLEIj09823@jedi.behrens.de> Cc: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404130927.32398.dev@archonet.com> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.3 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/91 X-Sequence-Number: 3986 On Monday 12 April 2004 20:48, Lothar Behrens wrote: > > On Wednesday 07 April 2004 19:58, Lothar Behrens wrote: > > 2. You are updating something (you don't say what) > > I am updating a char column. It does not that, what is intended. > > > You are having a problem (you don't say what) > > It simply writes an empty char into the database - not my sample text. Very strange. > > 3. You are using SuSe > > You have the latest version of something (you don't say what) from > > their > > website > > I mean your source code. I have downloaded it from Gborg web site. > I can compile it and install, but it doesn't work properly. Do you mean the psql-odbc project: http://gborg.postgresql.org/project/psqlodbc/projdisplay.php I wasn't aware it was intended for anything other than Windows. What ODBC manager are you using under SuSe? > I have figured out, that if I set the windows ODBC configuration > to debug all things, then it works properly. Is the problem with a client on Windows/SuSe or both? > After that, I tried to do the same under linux. No success. > > I think, I have a very stange problem in my memory handling or > something like alignment. The code itself works - as I have seen. > > Do you have an ODBC test application that runs under linux and > windows ? Your best bet is to turn on logging at the client (odbc) end, and statement logging at the PostgreSQL end. That usually helps me identify where my problem is. -- Richard Huxton Archonet Ltd