pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma <richard.broersma@gmail.com>
To: pgsql-odbc@postgresql.org
To: PostgreSQL - General ML <pgsql-general@postgresql.org>
Subject: Strange ODBC error & statement in Server log
Date: Tue, 10 Jun 2008 07:24:13 -0700
Message-ID: <396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com> (raw)

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



Message-ID: <396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com>
Permalink:  ../396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com/
Also on:    postgresql.org/message-id/396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com

 · 

reply

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: richard.broersma@gmail.com, pgsql-general@postgresql.org
  Subject: Re: Strange ODBC error & statement in Server log
  In-Reply-To: <396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com>
  References: <396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.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