From: | "planx plnetx" <planetx2100(at)hotmail(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Humongous BUG in libpq??? |
Date: | 2000-07-06 16:19:17 |
Message-ID: | 20000706161917.41176.qmail@hotmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
If I declare a cursor in embedded SQL I get a strange error wich
doesn't occur if I declare it manually with psql!
the code is:
void setSQL(PGconn *conn){
PQexec(conn,"SET DATESTYLE=European;");
PQexec(conn,"BEGIN TRANSACTION;");
PQexec(conn,"SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;");
PQexec(conn,"DECLARE peop_cursor CURSOR FOR SELECT * FROM people;");
/*at this point while executing this last instruction pgsql give me:
"NOTICE: current transaction is aborted, queries are ignored until
the end of transaction"
but the error doesn't occur processing those instructions in psql
*/
}
what I have to do????????????
HELP!
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher L. Cousins | 2000-07-06 19:23:31 | Re: upper() problem in 7.0.2 |
Previous Message | Tom Lane | 2000-07-06 14:37:17 | Re: Bug??: getattproperties fails !! |