adjust postgis extension cookbooks to prevent errors when processed by replica dbs