Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 35EBA2E0033 for ; Fri, 23 Nov 2007 17:17:41 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 41258-06 for ; Fri, 23 Nov 2007 17:17:22 -0400 (AST) Received: from web31801.mail.mud.yahoo.com (web31801.mail.mud.yahoo.com [68.142.207.64]) by postgresql.org (Postfix) with SMTP id D9C452E0032 for ; Fri, 23 Nov 2007 17:17:34 -0400 (AST) Received: (qmail 54241 invoked by uid 60001); 23 Nov 2007 21:17:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=tsc7bt9KOVZbe06c8M8oFQu5DlAJA3Gu5uJ5tjt+UDAUbw0KljsyupISi877f5DAizC7GOdw/jBiCK4OHKoruKSSIgjBVvd7Wm8VPy0ahJsJJDyzmTMtAx0jIfI2X/dQhGjUAa/sn/pe/F2Tklu5OSio4ZYQZQO3/h8FHP3AFnk=; X-YMail-OSG: F1lzQ6UVM1n9M9JvJ53.z50lXch7mjJiAFdWt3qGrt872tXeLDxkKBE1v74cF2zFIuVvLEhciyFniohCwDpr4gMBsUCDC0ecGimHjjNsReEtxvZAQas- Received: from [12.180.237.138] by web31801.mail.mud.yahoo.com via HTTP; Fri, 23 Nov 2007 13:17:33 PST X-Mailer: YahooMailWebService/0.7.158 Date: Fri, 23 Nov 2007 13:17:33 -0800 (PST) From: Richard Broersma Jr Subject: Re: Need help with Visual Basic 6 and PostgreSQL To: pgsql-odbc@postgresql.org, Finn Lassen In-Reply-To: <474737B9.406@AxiomInt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <745909.50104.qm@web31801.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/29 X-Sequence-Number: 9244 --- On Fri, 11/23/07, Finn Lassen 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.