-
-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Description
We see this error regularly on a production system, and unfortunately we can't reproduce and there's very little information to help debugging.
It would be cool to add a 'E' case in this switch statement so that the error from Postgres can be shown.
Lines 1575 to 1585 in a8bb68e
| func (cn *conn) readReadyForQuery() { | |
| t, r := cn.recv1() | |
| switch t { | |
| case 'Z': | |
| cn.processReadyForQuery(r) | |
| return | |
| default: | |
| cn.bad = true | |
| errorf("unexpected message %q; expected ReadyForQuery", t) | |
| } | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels