Re: Transactionless ODBC - Mailing list pgsql-interfaces

From Kovacs Zoltan Sandor
Subject Re: Transactionless ODBC
Date
Msg-id Pine.LNX.4.05.10006061529340.230-100000@pc10.radnoti-szeged.sulinet.hu
Whole thread Raw
In response to Transactionless ODBC  (Alex Stewart <astewart@freedomintelligence.com>)
Responses Re: Transactionless ODBC
List pgsql-interfaces
> SQL>create user roger
> Error creating the table;
> ERROR:  CREATE USER: may not be called in a transaction block, SQLSTATE=S0001
A workaround for this problem is: try inserting rows into pg_shadow
(and also into pg_group if it is important for you).

We had similar problems with transactions on Windows. Please check if "Use
DeclareFetch" option is off (configuring the ODBC driver): if it is on,
most statement implies a transaction BEGIN. (I don't know that you
have the opportunity to configure the ODBC driver on Unix, on Windows you
can.)

Regards, Zoltan



pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: RE: Postgres 7.0 JDBC - update count for DELETE is a lways 1
Next
From: Alex Stewart
Date:
Subject: Re: Transactionless ODBC