a READ_ONLY transaction cannot specify write locks Explanation: You specified a READ_ONLY transaction and a relation was locked for write access. This is a conflict of access modes. User Action: Start a transaction READ_WRITE or use a read lock. Note, the default is always READ_ONLY.