Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 5AF102E009D for ; Tue, 10 Jun 2008 11:24:32 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 98722-05 for ; Tue, 10 Jun 2008 11:24:11 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by developer.postgresql.org (Postfix) with ESMTP id 0486E2E003E for ; Tue, 10 Jun 2008 11:24:16 -0300 (ADT) Received: by fk-out-0910.google.com with SMTP id e30so1600139fke.3 for ; Tue, 10 Jun 2008 07:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=3pgKWNI8peAJ1fAb5OFjP4XqzX5BSr9uOxNRB8argXo=; b=Dg5OlME2XrcJcNhy9UN6Mgv6srHPtpeRdtGHBXwt8pUMps6uOel9e6PMLZs4kI8pjZ G9d79o93PNplnn2iCsIHRsl7PJ2+J0ayXayXLCz64UZzwjdaOmq5vt0BYYyaz+07ItXC T8i62QvX4BhxluSc9/oSC7Q/ubH/d62l6DxJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=mAVYL41UPumDoCaKWcmTHt1aMKjCSEcmMQG2Xg1yJnq6XzpFsgSX8a0TpDEUgpBiN1 LkGiffb6Eu2MbryqbvRXaKbpTQIEq65op27Za9oDiYc+Dkb3neMWLkABBSh+wefng4TS g0dl9ddKPNr9nBqw9TX1As4dw0NBeeC7zUY6E= Received: by 10.82.178.11 with SMTP id a11mr339891buf.47.1213107853102; Tue, 10 Jun 2008 07:24:13 -0700 (PDT) Received: by 10.82.113.13 with HTTP; Tue, 10 Jun 2008 07:24:13 -0700 (PDT) Message-ID: <396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com> Date: Tue, 10 Jun 2008 07:24:13 -0700 From: "Richard Broersma" To: pgsql-odbc@postgresql.org, "PostgreSQL - General ML" Subject: Strange ODBC error & statement in Server log MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/316 X-Sequence-Number: 133845 I am trying to use a clientside prepared query using vb and ado. Can anyone explain what I might be doing wrong that is causing ODBC to complain? Here are the strange logs that I am seeing: 2008-06-09 10:22:00 ERROR: syntax error at or near "SELECT" at character 16 2008-06-09 10:22:00 STATEMENT: SELECT INVALID SELECT STATEMENT TO FORCE ODBC DRIVER TO UNPREPARED STATE 2008-06-09 10:22:00 LOG: statement: ROLLBACK Basically, I'm trying to merge many project level databases in to one all inclusive database. I am using prepared inserts inside a transaction to push to old data to its new home. However, no client side error message is raised. Also, instead of seeing all or non of the records commited, I see that one(actually the last insert attempt) record gets commited. -- Regards, Richard Broersma Jr. Visit the Los Angles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug