forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit85d94c5
committed
Avoid extra newline in errors received in FE protocol version 2.
Contrary to what the comment said, the postmaster does in fact end allits messages in a newline, since server version 7.2. Be tidy and don'tadd an extra newline if the error message already has one.Discussion:https://www.postgresql.org/message-id/CAFBsxsEdgMXc%2BtGfEy9Y41i%3D5pMMjKeH8t8vSAypR3ZnAoQnHg%40mail.gmail.com1 parent3174d69 commit85d94c5
1 file changed
+8
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3277 | 3277 |
| |
3278 | 3278 |
| |
3279 | 3279 |
| |
3280 |
| - | |
3281 |
| - | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
3282 | 3283 |
| |
3283 |
| - | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
3284 | 3289 |
| |
3285 | 3290 |
| |
3286 | 3291 |
| |
|
0 commit comments
Comments
(0)