From: Richard Huxton <dev@archonet.com>
To: Lothar Behrens <lothar.behrens@lollisoft.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: (Fwd) Problems with my code under linux ??
Date: Tue, 13 Apr 2004 09:27:32 +0100
Message-ID: <200404130927.32398.dev@archonet.com> (raw)
In-Reply-To: <200404122114.i3CLEIj09823@jedi.behrens.de>
References: <200404072025.i37KP1j21438@jedi.behrens.de>
<200404122114.i3CLEIj09823@jedi.behrens.de>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: dev@archonet.com, lothar.behrens@lollisoft.de
Subject: Re: (Fwd) Problems with my code under linux ??
In-Reply-To: <200404130927.32398.dev@archonet.com>
References: <200404072025.i37KP1j21438@jedi.behrens.de> <200404122114.i3CLEIj09823@jedi.behrens.de> <200404130927.32398.dev@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox