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

From Josh Kupershmidt
Subject Re: transaction is read-only error
Date
Msg-id AANLkTim+bGE+3WgMiVPe=pAgebXQ-EstHLiG4AZBrxhT@mail.gmail.com
Whole thread Raw
In response to transaction is read-only error  (Salil Wadnerkar <rohshall@gmail.com>)
Responses Re: transaction is read-only error  (Salil Wadnerkar <rohshall@gmail.com>)
List pgsql-novice
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: Mladen Gogala
Date:
Subject: Neat trick
Next
From: "Rob Richardson"
Date:
Subject: Adding seconds to a time