Derived from postgres with the following modifications: Set max_prepared_transactions = 10 (required for groupserver)