optimized postgresql config according to https://docs.djangoproject.com/en/1.5/ref/databases/