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: | 2008-06-10 14:24:13 |
Message-ID: | 396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-odbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-06-10 14:54:03 | Re: REGEXP_REPLACE woes |
Previous Message | laser | 2008-06-10 14:19:12 | Re: Multithreaded queue in PgSQL |
From | Date | Subject | |
---|---|---|---|
Next Message | alepaes - aldeia digital | 2008-06-10 14:45:59 | Re: Re: " for read only" clause appended for safety when UseDeclareFetch=1 breaks some sql statements with trailing semicolons |
Previous Message | Vivek Gupta | 2008-06-07 05:58:59 | TIMEOUT attributes |