forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit51da231
committed
Don't fail on libpq-generated error reports in pg_amcheck.
An error PGresult generated by libpq itself, such as a report ofconnection loss, won't have broken-down error fields.should_processing_continue() blithely assumed thatPG_DIAG_SEVERITY_NONLOCALIZED would always be present, and woulddump core if it wasn't.Per grepping to see if6d157e7's mistake was repeated elsewhere.1 parent6d157e7 commit51da231
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
930 | 930 |
| |
931 | 931 |
| |
932 | 932 |
| |
| 933 | + | |
| 934 | + | |
933 | 935 |
| |
934 | 936 |
| |
935 | 937 |
| |
|
0 commit comments
Comments
(0)