Skip site navigation (1) Skip section navigation (2)

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: 2008-06-10 14:24:13
Message-ID: 396486430806100724g25338914h771c6e8407b8aa5f@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-odbc by date

Next:From: alepaes - aldeia digitalDate: 2008-06-10 14:45:59
Subject: Re: Re: " for read only" clause appended for safety when UseDeclareFetch=1 breaks some sql statements with trailing semicolons
Previous:From: Vivek GuptaDate: 2008-06-07 05:58:59
Subject: TIMEOUT attributes

pgsql-general by date

Next:From: Tom LaneDate: 2008-06-10 14:54:03
Subject: Re: REGEXP_REPLACE woes
Previous:From: laserDate: 2008-06-10 14:19:12
Subject: Re: Multithreaded queue in PgSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group