From: | Salil Wadnerkar <rohshall(at)gmail(dot)com> |
---|---|
To: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: transaction is read-only error |
Date: | 2010-09-17 10:14:35 |
Message-ID: | AANLkTikjzDubZauNTGE9to_d1jym-kf41GxNnLfxLT3G@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)com> wrote:
> On Tue, Sep 14, 2010 at 5:31 AM, Salil Wadnerkar <rohshall(at)gmail(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Siddharth Saha | 2010-09-17 10:36:54 | Re: List of User Defined Types? |
Previous Message | Richard Broersma | 2010-09-17 03:53:44 | Re: Unable to use VIEWS (Ok button remains shaded) |