From: Richard Broersma Jr <rabroersma@yahoo.com>
To: pgsql-odbc@postgresql.org, Finn Lassen <dcio@AxiomInt.com>
Subject: Re: Need help with Visual Basic 6 and PostgreSQL
Date: Fri, 23 Nov 2007 13:17:33 -0800 (PST)
Message-ID: <745909.50104.qm@web31801.mail.mud.yahoo.com> (raw)
In-Reply-To: <474737B9.406@AxiomInt.com>
--- On Fri, 11/23/07, Finn Lassen <dcio@AxiomInt.com> wrote:
> There is no "(" field. The "(" is the
> SQL syntax for enumerating the
> fields to be populated.
>> 2007-11-22 20:21:14 STATEMENT: BEGIN;insert into "public"."Contact1" ("", "Department", ..., "(", ... ) values (E'93100765018597400Bru'...
Actually if you've noticed from this insert statement that you've previously posted, "(" is listed as a column name for data to be inserted. This must be caused by either the ODBC or ADO driver is telling PostgreSQL to insert data into a column that doesn't really exist. My gut feeling is that this shouldn't be a problem caused by the ODBC driver hence my suggest to specifically call out the column names of your table when you assign values to your fields.
> P.S. Unfortunately I have already spent way more time on
> this than I can afford. This was supposed to be a quick
> evaluation to determine which database to replace the
> Borland with. I really should move on to looking at MySQL.
No arguments from me on this point. MySQL is a very good RDBMS also, and depending upon your needs it should work out well for you. But if you later find that MySQL's features to not adequately satisfy some of you core development needs you could always give PostgreSQL a second try later on.
Regarding getting in touch with the developers, some of the ODBC developers subscribe to this mailing list. It could be that developers haven't had an opportunity to responded since this is a holiday weekend and may be unavailable.
However, the ODBC project has an official web-page for developers and bug reporting.
http://pgfoundry.org/projects/psqlodbc/http://pgfoundry.org/tracker/?func=add&group_id=1000125&atid=538
Also, 3rd party vendor (Command Prompt) has developed their own ODBC driver that is supposed to have a more aggressive data caching mechanism. I haven't used it since the Official ODBC driver has worked so well in my case. You could see if this driver produces different results.
https://projects.commandprompt.com/public/odbcng/wiki/Downloads
They also have a mailing list dedicated to this driver:
http://lists.commandprompt.com/mailman/listinfo/odbcng
Regards,
Richard Broersma Jr.
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: rabroersma@yahoo.com, dcio@AxiomInt.com
Subject: Re: Need help with Visual Basic 6 and PostgreSQL
In-Reply-To: <745909.50104.qm@web31801.mail.mud.yahoo.com>
References: <474737B9.406@AxiomInt.com> <745909.50104.qm@web31801.mail.mud.yahoo.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