Re: transaction is read-only error - Mailing list pgsql-novice

From Salil Wadnerkar
Subject Re: transaction is read-only error
Date
Msg-id AANLkTikjzDubZauNTGE9to_d1jym-kf41GxNnLfxLT3G@mail.gmail.com
Whole thread Raw
In response to Re: transaction is read-only error  (Josh Kupershmidt <schmiddy@gmail.com>)
Responses Re: transaction is read-only error  (Josh Kupershmidt <schmiddy@gmail.com>)
List 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 by date:

Previous
From: Lew
Date:
Subject: Re: Adding seconds to a time
Next
From: Siddharth Saha
Date:
Subject: Re: List of User Defined Types?