I'm new to managing servers, especially postgresql on Ubuntu Server, so bear with me.
I'm trying to synchronize between two databases on two different computers, but I'm not sure what I did wrong, since whatever I tried to do, it seems to have configured the servers into read-only mode.
For example, if I wanted to create a role, I would get:
ERROR: cannot execute CREATE ROLE in a read-only transaction
Or if I want to create a table, I would get an error message:
ERROR: cannot execute CREATE TABLE in a read-only transaction.
I have no idea what to do here, so advice on how to resolve this issue is greatly appreciated.
I'm running PostgreSQL version 9.1 on Ubuntu Server 12.04 for by the way.