Strange ODBC error & statement in Server log
- From: "Richard Broersma" <richard(dot)broersma(at)gmail(dot)com>
- To: pgsql-odbc(at)postgresql(dot)org, "PostgreSQL - General ML" <pgsql-general(at)postgresql(dot)org>
- Subject: Strange ODBC error & statement in Server log
- Date: Tue, 10 Jun 2008 07:24:13 -0700
- Message-id: <396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com> <text/plain>
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
Home |
Main Index |
Thread Index