Re: ERROR: transaction is read-only

Поиск
Список
Период
Сортировка
От Maciek Sakrejda
Тема Re: ERROR: transaction is read-only
Дата
Msg-id AANLkTi=tJQ2uM8vtw=4S__j_jFMZ6T_J2MjLgfbLE==m@mail.gmail.com
обсуждение исходный текст
Ответ на ERROR: transaction is read-only  ("Satish Burnwal (sburnwal)" <sburnwal@cisco.com>)
Ответы Re: ERROR: transaction is read-only
Список pgsql-jdbc
Your transaction is probably being set to read-only somewhere. I'm
going out on a limb and venture that that does not have anything to do
with the code you've showed us. I don't think the driver sets a
connection to read-only on its own anywhere (only through explicit
user caslls to setReadOnly--or, of course, manually issuing a query
such as "SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY" or just
"SET TRANSACTION READ ONLY"). Are you using RO connections anywhere
else? Could this be improper reuse of a read-only connection from a
pool? Can you turn this into an isolated test case or at least provide
more details on what works and what doesn't.

---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
msakrejda@truviso.com
www.truviso.com

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Satish Burnwal (sburnwal)"
Дата:
Сообщение: ERROR: transaction is read-only
Следующее
От: Samuel Gendler
Дата:
Сообщение: Re: ERROR: transaction is read-only