Postgres connection pooling pitfalls

Prepared statements, transaction pooling, and the errors that only show under load.