From: Ludek Finstrle <luf@pzkagis.cz>
To: Andrus <eetasoft@online.ee>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Application crash after error
Date: Fri, 2 Dec 2005 12:36:45 +0100
Message-ID: <20051202113645.GA21663@soptik.pzkagis.cz> (raw)
In-Reply-To: <dmpast$1nnt$1@news.hub.org>
References: <438F31C3.4020205@us.michelin.com>
<20051201184050.C803A9DD43B@postgresql.org>
<20051201195932.GA16735@soptik.pzkagis.cz>
<dmp74e$11ub$1@news.hub.org>
<20051202103824.GA21226@soptik.pzkagis.cz>
<dmpast$1nnt$1@news.hub.org>
> > Hmmm. I get idea right now. I'll try it againist MySQL. It's ODBC is
> > open source so I can learn from it ...
> > Please could you change your example to support MySQL ODBC?
> > Maybe (or maybe not) it helps.
>
> If you change the connection string in testsql.prg and remove WITHOUT OIDS
> clauses in CREATE TABLE commands I think this sample must work with other
> odbc drivers also.
As I wrote you main.exe doesn't use testsql.prg. I changed connect string
in testsql.prg but connect string in ODBC still contains user 'postgresql'
with password you typed.
It didn't use my changes in testsql.prg.
> Thank you. I have one unchecked thought. If null instead of empty string is
> passed as value to text type column, maybe the error does not occur.
I don't think so. It's text column so it need SQLPutData. That's the
biggest problem.
Luf
P.S. I change subject as it isn't about #Deleted ...
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: luf@pzkagis.cz, eetasoft@online.ee, pgsql-odbc@postgresql.org
Subject: Re: Application crash after error
In-Reply-To: <20051202113645.GA21663@soptik.pzkagis.cz>
* 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