Re: transaction is read-only error

Поиск
Список
Период
Сортировка
От Salil Wadnerkar
Тема Re: transaction is read-only error
Дата
Msg-id AANLkTikjzDubZauNTGE9to_d1jym-kf41GxNnLfxLT3G@mail.gmail.com
обсуждение исходный текст
Ответ на Re: transaction is read-only error  (Josh Kupershmidt <schmiddy@gmail.com>)
Ответы Re: transaction is read-only error  (Josh Kupershmidt <schmiddy@gmail.com>)
Список pgsql-novice
Hi Josh,

Thanks for replying. I tried the "set transaction" command. I still
get the "transaction is read-only" error when I issue the "insert
into" command.
If there is no other solution, how do I set the value of the variable
"default_transaction_read_only" to false from the admin console?

regards
Salil


On Wed, Sep 15, 2010 at 6:04 AM, Josh Kupershmidt <schmiddy@gmail.com> wrote:
> On Tue, Sep 14, 2010 at 5:31 AM, Salil Wadnerkar <rohshall@gmail.com> wrote:
> [snip]
>> This last line generates the error. So, I gave superuser permission to
>> this user gm-dbo because I think non-superusers cannot change
>> "default_transaction_read_only" to true.
>
> I think any user should be able to issue:
>  SET TRANSACTION READ WRITE;
> at the beginning of a transaction, have you tried this?
>
> Josh
>

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

Предыдущее
От: Lew
Дата:
Сообщение: Re: Adding seconds to a time
Следующее
От: Siddharth Saha
Дата:
Сообщение: Re: List of User Defined Types?