Closed strk closed 8 years ago
As of the mapnik being currently used (3.0.9) the transaction is already set as read-only:
LOG: statement: SET DEFAULT_TRANSACTION_READ_ONLY = TRUE; SET CLIENT_MIN_MESSAGES = WARNING;
Upstream reference: https://github.com/mapnik/mapnik/issues/2142
the tiler shouldn't need read-write access to the database. Read-only can be accomplished with SET TRANSACTION: http://www.postgresql.org/docs/9.4/static/sql-set-transaction.html