That wasn't entirely clear from the post.

When I use Postgres, I keep my maximum connections very high, on the theory that if I hit a peak once, I'm likely to do it again. Or use a sufficiently slow decay time.