logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: (Fwd) Problems with my code under linux ??: msg#00089

db.postgresql.odbc

Subject: Re: (Fwd) Problems with my code under linux ??

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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo