Mar 122012
"ERROR: cannot execute UPDATE in a read-only transaction"
is what PostgreSQL tells you when you try to execute an update on a replica instead of on the master.
"ERROR: cannot execute UPDATE in a read-only transaction"
is what PostgreSQL tells you when you try to execute an update on a replica instead of on the master.