pub fn is_stale_plan(error: &Error) -> boolExpand description
Whether error is Postgres refusing a statement this connection prepared before a
migration changed what it returns: SQLSTATE 0A000 with “cached plan must not
change result type”. Each pooled connection that cached the statement fails so
once, and a fresh connection does not.