Re: Transactionless ODBC

Поиск
Список
Период
Сортировка
От Kovacs Zoltan Sandor
Тема Re: Transactionless ODBC
Дата
Msg-id Pine.LNX.4.05.10006061529340.230-100000@pc10.radnoti-szeged.sulinet.hu
обсуждение исходный текст
Ответ на Transactionless ODBC  (Alex Stewart <astewart@freedomintelligence.com>)
Ответы Re: Transactionless ODBC
Список 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 по дате отправления:

Предыдущее
От: Peter Mount
Дата:
Сообщение: RE: Postgres 7.0 JDBC - update count for DELETE is a lways 1
Следующее
От: Alex Stewart
Дата:
Сообщение: Re: Transactionless ODBC