adjust postgis extension cookbooks 

Corrects errors about read-only transactions when cookbooks are processed by replica databases.