- Notifications
You must be signed in to change notification settings - Fork5
Commit011ee13
committed
|
|We're all too familiar with psql's "no response from backend" message.|Users can't tell what this means, and psql continues prompting for|commands after it even though the backend is dead and no commands can|succeed. It eventually dies on a signal when the dead socket fills|up. I extended the message to offer a better explanation and made|psql exit when it finds the backend is dead.||I also added a short message and newline when the user does a ctl-D so|it doesn't mess up the terminal display.||Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>1 parent6b9ecd8 commit011ee13
2 files changed
+39
-12
lines changedLines changed: 21 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
988 | 988 |
| |
989 | 989 |
| |
990 | 990 |
| |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
991 | 995 |
| |
992 | 996 |
| |
993 | 997 |
| |
| |||
1012 | 1016 |
| |
1013 | 1017 |
| |
1014 | 1018 |
| |
1015 |
| - | |
1016 |
| - | |
1017 |
| - | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
1018 | 1026 |
| |
1019 | 1027 |
| |
1020 | 1028 |
| |
| |||
1099 | 1107 |
| |
1100 | 1108 |
| |
1101 | 1109 |
| |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
1102 | 1115 |
| |
1103 |
| - | |
1104 |
| - | |
1105 |
| - | |
1106 |
| - | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1107 | 1120 |
| |
1108 | 1121 |
| |
1109 | 1122 |
| |
|
Lines changed: 18 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
387 | 387 |
| |
388 | 388 |
| |
389 | 389 |
| |
390 |
| - | |
| 390 | + | |
| 391 | + | |
391 | 392 |
| |
392 | 393 |
| |
393 | 394 |
| |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
394 | 402 |
| |
395 | 403 |
| |
396 | 404 |
| |
397 | 405 |
| |
398 | 406 |
| |
399 | 407 |
| |
400 |
| - | |
| 408 | + | |
| 409 | + | |
401 | 410 |
| |
402 | 411 |
| |
403 | 412 |
| |
| |||
414 | 423 |
| |
415 | 424 |
| |
416 | 425 |
| |
417 |
| - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
418 | 432 |
| |
419 | 433 |
| |
420 | 434 |
| |
|
0 commit comments
Comments
(0)